All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3]block/loop: handle discard/zeroout error
@ 2017-08-30 19:17 Shaohua Li
  2017-08-30 19:17 ` [PATCH 1/3] block/loop: don't hijack error number Shaohua Li
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shaohua Li @ 2017-08-30 19:17 UTC (permalink / raw)
  To: linux-block; +Cc: Kernel-team, axboe

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 | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

-- 
2.9.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-30 19:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-30 19:17 [PATCH 0/3]block/loop: handle discard/zeroout error Shaohua Li
2017-08-30 19:17 ` [PATCH 1/3] block/loop: don't hijack error number Shaohua Li
2017-08-30 19:17 ` [PATCH 2/3] block/loop: use FALLOC_FL_ZERO_RANGE for REQ_OP_WRITE_ZEROES Shaohua Li
2017-08-30 19:17 ` [PATCH 3/3] block/loop: suppress discard IO error message Shaohua Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.