linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Plumbley-Jones <alex@bpmit.com>
To: linux-btrfs@vger.kernel.org
Subject: Easy Q: reset space cache updated?
Date: Wed, 25 Sep 2013 18:47:02 +0000 (UTC)	[thread overview]
Message-ID: <loom.20130925T201609-904@post.gmane.org> (raw)

Hi all,

I had been clearing the space cache on my btrfs vol (Debian 3.10.11-1
btrfs-tools 2013-7-5) by changing the fstab to "nospace_cache, clear_cache".

I ran btrfsck --repair and it said: 

"cache and super generation don't match, space cache will be invalidated."

Can one of the dev's please tell me whether that message means that the
space cache regeneration is now being triggered as a part this btrfsck run
(so my tinkering with fstab mount options is self-defeating)?

If no please can someone confirm that 
http://comments.gmane.org/gmane.comp.file-systems.btrfs/21256
is still the correct procedure to use to clear the cache.

Still very happy with how well btrfs is working for me.

Thank you.



Al.

PS: I think that there may be a problem with having a non-default boot
subvol with autodefrag mount option but can't consistently reproduce in
haste. I've moved to the explicit subvol=@ in the kernel load and the
eventual hang has gone.

I have a ext based /boot but the remaining system is installed to a subvol
to allow snapshots on it. Works fine (with above caveat) and is easy to do.




                 reply	other threads:[~2013-09-25 18:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20130925T201609-904@post.gmane.org \
    --to=alex@bpmit.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).