Re: Candidate for late revert ?

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

 



Hello, Martin.

(cc'ing linux-ide)

On Mon, Jun 02, 2014 at 07:49:52PM -0400, Martin K. Petersen wrote:
> I'm starting to think we'll have to make queued trim an opt-in for
> now. Every vendor appears to screw it up. I had a third patch in my
> series that would allow the users to override the type of trim in
> sysfs. It was mainly written as an aid to the SSD vendors so they could
> test queued trim on drives we had blacklisted. I didn't post it because
> I was afraid people would shoot themselves in the foot. But maybe opt-in
> for enthusiasts is a better approach in the short term...

The problem with that approach is that it's very likely that we won't
be able to take advantage of that feature ever.  IIRC, we did a
similar thing with FUA support.  We added the support, a bunch of
controllers and devices were broken, we hid it behind a module option
with the goal being eventually developing a whitelist.  Of course,
there's no way to actually find out which combinations work once the
feature is disabled by default and libata FUA support is essentially
dead, which BTW might be the right conclusion.  It's not like FUA
makes noticeable difference and quite likely that vendors haven't
gotten around to fix the issues anyway and won't ever.

The one difference is that, unlike FUA, queued trim is actually
useful, so I kinda wanna give it more fighting chances before we
declare defeat and bury it behind a module option.  That said, I
wouldn't have any problem with applying blacklist liberally for
devices which show any sign of issues.  If there isn't no definite
confirmation from the vendor regarding what the issue was and which
firmware fixes it, I think blacklisting the whole family of devices
isn't a bad idea.  If this feature is gonna survive, given its actual
usefulness, I think / hope it would, the trade-off of blacklisting
existing devices widely makes pretty good sense if that'd allow us to
salvage the feature in the long term.

So, let's keep blacklisting liberally for now.

Thanks.

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




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux