[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220528021235.2120995-1-yukuai3@huawei.com>
Date: Sat, 28 May 2022 10:12:29 +0800
From: Yu Kuai <yukuai3@...wei.com>
To: <josef@...icpanda.com>, <axboe@...nel.dk>, <ming.lei@...hat.com>,
<yukuai3@...wei.com>
CC: <linux-block@...r.kernel.org>, <nbd@...er.debian.org>,
<linux-kernel@...r.kernel.org>, <yi.zhang@...wei.com>
Subject: [PATCH -next v4 0/6] nbd: bugfix and cleanup patches
Changes in v4
- in patch 3, return from nbd_handle_reply() with flag cleared if
request is ready to complete.
- add reviewed-by tag for patch 1-2, 4-6.
Changes in v3:
- rewrap to 80 columns where possible in patch 6
Changes in v2:
- in patch 3, instead of clear and then reset the flag if rq is not
completed, test first and clear if rq is going to complete.
path 1-2 fix races between nbd setup and module removal.
patch 3 fix io can't be completed in some error path.
patch 4 fix io hung when disconnecting failed.
patch 5 fix sysfs warning about duplicate creation.
patch 6 use pr_err to output error message.
Previous versions:
v1: https://lore.kernel.org/all/20220426130746.885140-1-yukuai3@huawei.com/
v2: https://lore.kernel.org/all/20220518122618.1702997-1-yukuai3@huawei.com/
v3: https://lore.kernel.org/all/20220521073749.3146892-1-yukuai3@huawei.com/
Yu Kuai (5):
nbd: call genl_unregister_family() first in nbd_cleanup()
nbd: fix race between nbd_alloc_config() and module removal
nbd: don't clear 'NBD_CMD_INFLIGHT' flag if request is not completed
nbd: fix io hung while disconnecting device
nbd: use pr_err to output error message
Zhang Wensheng (1):
nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
drivers/block/nbd.c | 109 +++++++++++++++++++++++++-------------------
1 file changed, 63 insertions(+), 46 deletions(-)
--
2.31.1
Powered by blists - more mailing lists