Thread (8 messages) 8 messages, 2 authors, 2017-09-07
STALE3223d
Revisions (2)
  1. v2 current
  2. v3 [diff vs current]

[PATCH V2 0/3] block/loop: handle discard/zeroout error

From: Shaohua Li <shli@kernel.org>
Date: 2017-09-07 00:13:23

From: Shaohua Li <redacted>

Fix some problems when setting up loop device with a block device as back file
and create/mount ext4 in the loop device.

BTW: blkdev_issue_zeroout retries if we immediately find the device doesn't
support zeroout, but it doesn't retry if submit_bio_wait returns -EOPNOTSUPP.
Is this correct behavior?

Thanks,
Shaohua

Shaohua Li (3):
  block/loop: don't hijack error number
  block/loop: use FALLOC_FL_ZERO_RANGE for REQ_OP_WRITE_ZEROES
  block/loop: suppress discard IO error message

 drivers/block/loop.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

-- 
2.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help