SCSI discard fixes
Subsystems (2)
This commit in 3.19:
commit 7985090aa0201fa7760583f9f8e6ba41a8d4c392
Author: Martin K. Petersen <[email protected]> Date: Fri Nov 7 00:08:13 2014 -0500
sd: disable discard_zeroes_data for UNMAP
appears to fix a data corruption bug. Should it be backported to older stable branches?
Similarly for this one in 4.4:
commit 397737223c59e89dca7305feb6528caef8fbef84
Author: Martin K. Petersen <[email protected]> Date: Fri Nov 13 16:46:47 2015 -0500
sd: Make discard granularity match logical block size when LBPRZ=1
(along with:
commit f4327a95dd080ed6aecb185478a88ce1ee4fa3c4
Author: Martin K. Petersen <[email protected]> Date: Sat Mar 5 17:52:02 2016 -0500
sd: Fix discard granularity when LBPRZ=1
)
Ben.
Signature · 2 lines
Ben Hutchings When in doubt, use brute force. - Ken Thompson