Re: SSD mode on HDD

2015-04-02 Thread David Sterba
On Thu, Apr 02, 2015 at 05:49:04PM +0200, Petr Bena wrote:
> Hey,
> 
> I figured out that for some reason on both ubuntu and debian, SSD mode
> seems to be turned on even on HDD's (hard disk drives - eg. those with
> rotating disk). I figured out now, but it's been like this for at
> least a year or more and I didn't really had any problems with this.
> 
> Is it OK to have SSD mode enabled on HDDs?

Yeah, it's safe. It will slightly change the behaviour of allocator
and triggers some actions earlier (that are otherwise offloaded to other
threads).

There's one case where it might make a difference: the metadata
defragmentaion is skipped if SSD is enabled. I'm going to send a patch
that'll make the behaviour consistent.
--
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


SSD mode on HDD

2015-04-02 Thread Petr Bena
Hey,

I figured out that for some reason on both ubuntu and debian, SSD mode
seems to be turned on even on HDD's (hard disk drives - eg. those with
rotating disk). I figured out now, but it's been like this for at
least a year or more and I didn't really had any problems with this.

Is it OK to have SSD mode enabled on HDDs?
--
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