Russell Coker posted on Tue, 21 Oct 2014 21:13:29 +1100 as excerpted:

>  I don't know what
> space_cache is about, is that something the kernel adds automatically?

Yes, space_cache is the default.

Apparently early in space_cache history you had to mount with space_cache 
once, and the kernel would then detect the existence of the space-cache-
tree and always use the option after that.

But for quite some time now, over a year since I've not ever added that 
to my mount options since I got the ssds and began using btrfs on them, 
the kernel seems to enable it automatically from the first mount, unless 
you specifically tell it not to.

Similarly for the ssd option, if the kernel detects that you are running 
an ssd (I believe it checks the ata/scsi rotational media property, which 
it should detect properly on raw hardware, but which can get lost if 
btrfs is layered over top of lvm/mdraid/dmcrypt/etc), it'll automatically 
enable the ssd mount option, which is exactly what it does here.

-- 
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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to