mbox series

[-next,0/6] nbd: bugfix and cleanup patches

Message ID 20220426130746.885140-1-yukuai3@huawei.com (mailing list archive)
Headers show
Series nbd: bugfix and cleanup patches | expand

Message

Yu Kuai April 26, 2022, 1:07 p.m. UTC
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.

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 | 119 +++++++++++++++++++++++++++-----------------
 1 file changed, 74 insertions(+), 45 deletions(-)

Comments

Yu Kuai May 5, 2022, 12:57 a.m. UTC | #1
friendly ping ...

在 2022/04/26 21:07, Yu Kuai 写道:
> 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.
> 
> 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 | 119 +++++++++++++++++++++++++++-----------------
>   1 file changed, 74 insertions(+), 45 deletions(-)
>
Yu Kuai May 12, 2022, 1:17 p.m. UTC | #2
friendly ping ...

在 2022/05/05 8:57, yukuai (C) 写道:
> friendly ping ...
> 
> 在 2022/04/26 21:07, Yu Kuai 写道:
>> 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.
>>
>> 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 | 119 +++++++++++++++++++++++++++-----------------
>>   1 file changed, 74 insertions(+), 45 deletions(-)
>>