Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sd: Fix discard granularity when LBPRZ=1
Commit 3977372 ("sd: Make discard granularity match logical block size when LBPRZ=1") accidentally set the granularity to one byte instead of one logical block on devices that provide deterministic zeroes after UNMAP. Signed-off-by: Martin K. Petersen <[email protected]> Reported-by: Mike Snitzer <[email protected]> Reviewed-by: Ewan Milne <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Fixes: 3977372 Cc: <[email protected]> #v4.4+
- Loading branch information