Re: Btrfs on bcache device: mount options?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vojtech Pavlik writes:

> On Thu, Oct 15, 2015 at 03:04:35PM +0200, Simon Herter wrote:
>
>> I'm using btrfs on a bcache device and I'm a bit confused about mount
>> options. For example, bcache may (if I understood correctly) bypass the
>> cache completely for sequential access. So should I use "ssd" mount
>> option or not? Are there any general recommendations?
>
> No, you should not. It modifies the data layout behavior to ignore seek
> times. These may be present when reading from the backing media.

Sounds reasonable. A short note on that: _not_ specifying 'ssd' is not
enough, one has to specify 'nossd' explicitly. Btrfs enables 'ssd'
automatically by checking /sys/block/bcache0/queue/rotational to be
zero - which is true. (Though I'm not sure whether bcache got that right.
One could argue that returning the backing device's rotational value
would be better, especially to get the defaults right for btrfs.)

> You likely want to enable compression and autodefragmentation, too.

When I read 'autodefrag' I was worried about my ssd at first, but I found
some discussion about that on the btrfs mailing list, so that seems to
be fine. Thanks for the suggestions.

-Simon


--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux