Re: [PATCH v8 0/8] nbd: eliminate queue freeze/unfreeze overhead in connection setup

Jens Axboe <[email protected]>
Newsgroups org.kernel.vger.linux-block
Message-ID <178684600077.2049660.1440871140596873147.b4-ty@b4>
On Wed, 05 Aug 2026 20:29:22 +0800, Yang Erkun wrote:
> This series eliminates the blk_mq_freeze_queue()/unfreeze_queue()
> overhead that currently occurs during nbd connection setup(nbd provide
> ondemand and was using in AI sandbox e2b[1] to mount and attach rootfs).
> Each freeze cycle will introduce a RCU grace which was significant
> with multi-core system.
> 
> time nbd-client --name myexport --connections 96 127.0.0.1 1234
> 
> [...]

Applied, thanks!

[1/8] nbd: simplify find_fallback() by removing redundant logic
      commit: fe247030f1ce74e6bb917e219fe152270613073d
[2/8] nbd: disallow NBD_SET_SOCK on an active device
      commit: 04d8fb23e520419a283dd53c1d9cdfb7c5b1705e
[3/8] nbd: clear queue limits on disconnect
      commit: 0fdee7c5fa886554503001cecea049f053237381
[4/8] nbd: remove queue freeze in nbd_add_socket
      commit: 285908f554fe32d9ca7cb7c3a03a05144faeb461
[5/8] nbd: skip queue freeze when setting size at device startup
      commit: db285268df7948f6edbb7c8bb7cd02da3ceec6b4
[6/8] nbd: factor out a nbd_genl_foreach_sock
      commit: f8d21c590e55d629abed675554b186291ac08915
[7/8] nbd: remove queue freeze for newly created nbd from netlink path
      commit: a9d414b4a15c69b5389da3ec08f23e9f2926c52a
[8/8] nbd: add pre_defined_connections module parameter for pre-created devices
      commit: 326d49039c10b65522ac7277b19b9b5c42ed1aeb

Best regards,
-- 
Jens Axboe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.