Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separatesuper_operation
From: Lukas Czerner
Date: Fri Nov 19 2010 - 10:44:54 EST
On Fri, 19 Nov 2010, Mark Lord wrote:
> On 10-11-19 09:02 AM, Ted Ts'o wrote:
> > but that's why mount -o discard is not the default.
>
>
> But, oddly, it _is_ the default for mke2fs -t ext4,
> which really threw me for a loop recently.
>
> I though my system had locked up when suddenly everything
> went dead for a very long time (many minutes) while installing a new system.
>
> Then I figured out what was going on.
> I really believe that "-K" should be the _default_ for mke2fs,
> as otherwise lots of other people probably also wonder
> if Linux is killing their SSD at system install time..
>
> Cheers
>
That is exactly a reason why I posted a patch for
"Make blkdev_issue_discard() interruptible", but nobody seems to care. As
an addition I have patched mke2fs to inform user about ongoing discard,
also with not much attention (Ted?).
Thanks!
-Lukas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/