Goffredo Baroncelli posted on Mon, 12 May 2014 20:18:04 +0200 as
excerpted:

> Finally I have a question: it is possible to disable inode_cache ? what
> means the flag "noinode_cache" ? It means disable the inode cache at
> all, or only avoid to store on disk the inode cache ?

Unlike space_cache, which is enabled by default these days, inode_cache 
must be specifically enabled every time it is to be used.  So simply not 
including the inode_cache mount option when doing the original mount 
means it's disabled.

Meanwhile, the noinode_cache flag is simply one of the mount-option 
negators, to allow turning off a mount option on an existing mount when 
it is remounted, to avoid having to fully umount and do a fresh mount, to 
deactivate the option.

So simply don't include inode_cache when doing the original mount to 
disable it, or if for whatever reason it's enabled and you want to 
disable it on a remount, use -o remount,noinode_cache for the remount, 
and it'll disable inode_cache if the filesystem was already mounted with 
it enabled.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to