When trying to issue write_zeroes command against TARGET with a 4K block
size, it ends up hitting the following condition at __blkdev_issue_zeroout:
if ((sector | nr_sects) & bs_mask)
return -EINVAL;
Causing the command to always fail.
Considering we need to add 1 to get the
Thanks, I've applied the patch with a simpler changelog explaining
the bug.
On 4/2/2018 8:38 PM, Keith Busch wrote:
Thanks, I've applied the patch with a simpler changelog explaining
the bug.
Thanks Rodrigo and Keith, I've tested with/w.o the patch and it works
well (with the fix only).
-Max.
___
Linux-nvme mailing li
Reviewed-by: Sagi Grimberg
4 matches
Mail list logo