From: Shaohua Li <shli@kernel.org>
To: linux-block@vger.kernel.org
Cc: kernel-team@fb.com, axboe@kernel.dk, Shaohua Li <shli@fb.com>
Subject: [PATCH V2 0/3] block/loop: handle discard/zeroout error
Date: Wed, 6 Sep 2017 17:13:23 -0700 [thread overview]
Message-ID: <cover.1504742003.git.shli@fb.com> (raw)
From: Shaohua Li <shli@fb.com>
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
next reply other threads:[~2017-09-07 0:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-07 0:13 Shaohua Li [this message]
2017-09-07 0:13 ` [PATCH V2 1/3] block/loop: don't hijack error number Shaohua Li
2017-09-07 9:22 ` Ming Lei
2017-09-07 0:13 ` [PATCH V2 2/3] block/loop: use FALLOC_FL_ZERO_RANGE for REQ_OP_WRITE_ZEROES Shaohua Li
2017-09-07 9:05 ` Ming Lei
2017-09-07 0:13 ` [PATCH V2 3/3] block/loop: suppress discard IO error message Shaohua Li
2017-09-07 9:16 ` Ming Lei
2017-09-07 21:52 ` Shaohua Li
-- strict thread matches above, loose matches on Subject: below --
2017-09-07 13:20 [PATCH V2 0/3] block/loop: handle discard/zeroout error Ilya Dryomov
2017-09-07 21:54 ` Shaohua Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1504742003.git.shli@fb.com \
--to=shli@kernel.org \
--cc=axboe@kernel.dk \
--cc=kernel-team@fb.com \
--cc=linux-block@vger.kernel.org \
--cc=shli@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.