mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next v2 0/6] nbd: bugfix and cleanup patches
@ 2022-05-18 12:26 Yu Kuai
  2022-05-18 12:26 ` [PATCH -next v2 1/6] nbd: call genl_unregister_family() first in nbd_cleanup() Yu Kuai
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Yu Kuai @ 2022-05-18 12:26 UTC (permalink / raw)
  To: josef, axboe, ming.lei; +Cc: linux-block, nbd, linux-kernel, yukuai3, yi.zhang

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://patchwork.kernel.org/project/linux-block/cover/20220426130746.885140-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 | 110 +++++++++++++++++++++++++++-----------------
 1 file changed, 68 insertions(+), 42 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2022-05-19  1:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 12:26 [PATCH -next v2 0/6] nbd: bugfix and cleanup patches Yu Kuai
2022-05-18 12:26 ` [PATCH -next v2 1/6] nbd: call genl_unregister_family() first in nbd_cleanup() Yu Kuai
2022-05-18 12:26 ` [PATCH -next v2 2/6] nbd: fix race between nbd_alloc_config() and module removal Yu Kuai
2022-05-18 12:26 ` [PATCH -next v2 3/6] nbd: don't clear 'NBD_CMD_INFLIGHT' flag if request is not completed Yu Kuai
2022-05-18 12:26 ` [PATCH -next v2 4/6] nbd: fix io hung while disconnecting device Yu Kuai
2022-05-18 12:26 ` [PATCH -next v2 5/6] nbd: fix possible overflow on 'first_minor' in nbd_dev_add() Yu Kuai
2022-05-18 12:26 ` [PATCH -next v2 6/6] nbd: use pr_err to output error message Yu Kuai
2022-05-18 18:12   ` Joe Perches
2022-05-19  1:06     ` yukuai (C)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®