[stable] SCSI discard fixes

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

 



This commit in 3.19:

commit 7985090aa0201fa7760583f9f8e6ba41a8d4c392
Author: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
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 <martin.petersen@xxxxxxxxxx>
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 <martin.petersen@xxxxxxxxxx>
Date:   Sat Mar 5 17:52:02 2016 -0500

    sd: Fix discard granularity when LBPRZ=1
)

Ben.

-- 
Ben Hutchings
When in doubt, use brute force. - Ken Thompson

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]