Hi Linus, Followup block pull request for 6.10-rc1, mostly due to NVMe being a bit late to the party. But nothing major in there, so not a big deal. In detail, this pull request contains: - NVMe pull request via Keith - Fabrics connection retries (Daniel, Hannes) - Fabrics logging enhancements (Tokunori) - RDMA delete optimization (Sagi) - ublk DMA alignment fix (me) - null_blk sparse warning fixes (Bart) - Discard support for brd (Keith) - blk-cgroup list corruption fixes (Ming) - blk-cgroup stat propagation fix (Waiman) - Regression fix for plugging stall with md (Yu) - Misc fixes or cleanups (David, Jeff, Justin) This will throw a merge conflict in block/blk-core.c due to the changes from Al, however it's very minor. I'm including my resolution below, but if you need it, we'll have to revoke your git merge card. Look at your own peril. Please pull! The following changes since commit a7c840ba5fa78d7761b9fedc33d69cef44986d79: Merge tag 'tag-chrome-platform-firmware-for-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux (2024-05-13 16:48:15 -0700) are available in the Git repository at: git://git.kernel.dk/linux.git tags/block-6.10-20240523 for you to fetch changes up to a2db328b0839312c169eb42746ec46fc1ab53ed2: null_blk: fix null-ptr-dereference while configuring 'power' and 'submit_queues' (2024-05-23 06:58:13 -0600) ---------------------------------------------------------------- block-6.10-20240523 ---------------------------------------------------------------- Bart Van Assche (6): null_blk: Fix two sparse warnings nbd: Use NULL to represent a pointer nbd: Remove superfluous casts nbd: Improve the documentation of the locking assumptions nbd: Remove a local variable from nbd_send_cmd() nbd: Fix signal handling Daniel Wagner (1): nvme: do not retry authentication failures Dr. David Alan Gilbert (1): blk-throttle: remove unused struct 'avg_latency_bucket' Hannes Reinecke (4): nvmet: lock config semaphore when accessing DH-HMAC-CHAP key nvmet: return DHCHAP status codes from nvmet_setup_auth() nvme: return kernel error codes for admin queue connect nvme-fabrics: short-circuit reconnect retries Jeff Johnson (1): block: t10-pi: add MODULE_DESCRIPTION() Jens Axboe (2): ublk_drv: set DMA alignment mask to 3 Merge tag 'nvme-6.10-2024-05-14' of git://git.infradead.org/nvme into block-6.10 Justin Stitt (1): cdrom: rearrange last_media_change check to avoid unintentional overflow Keith Busch (1): brd: implement discard support Ming Lei (3): blk-cgroup: fix list corruption from resetting io stat blk-cgroup: fix list corruption from reorder of WRITE ->lqueued blk-mq: add helper for checking if one CPU is mapped to specified hctx Sagi Grimberg (1): nvmet-rdma: Avoid o(n^2) loop in delete_ctrl Tokunori Ikegami (1): nvme-rdma, nvme-tcp: include max reconnects for reconnect logging Waiman Long (1): blk-cgroup: Properly propagate the iostat update up the hierarchy Yu Kuai (2): block: fix lost bio for plug enabled bio based device null_blk: fix null-ptr-dereference while configuring 'power' and 'submit_queues' block/blk-cgroup.c | 87 ++++++++++++++++++++++++---------- block/blk-core.c | 13 ++--- block/blk-mq.c | 20 +++++++- block/blk-throttle.c | 5 -- block/t10-pi.c | 2 +- drivers/block/brd.c | 26 ++++++++++ drivers/block/nbd.c | 41 ++++++++-------- drivers/block/null_blk/main.c | 42 ++++++++++------ drivers/block/null_blk/trace.h | 7 ++- drivers/block/ublk_drv.c | 1 + drivers/cdrom/cdrom.c | 2 +- drivers/nvme/host/auth.c | 6 +-- drivers/nvme/host/core.c | 6 +-- drivers/nvme/host/fabrics.c | 51 ++++++++++++-------- drivers/nvme/host/fabrics.h | 2 +- drivers/nvme/host/fc.c | 4 +- drivers/nvme/host/nvme.h | 2 +- drivers/nvme/host/rdma.c | 23 +++++---- drivers/nvme/host/tcp.c | 30 +++++++----- drivers/nvme/target/auth.c | 22 ++++----- drivers/nvme/target/configfs.c | 22 +++++++-- drivers/nvme/target/fabrics-cmd-auth.c | 49 +++++++++---------- drivers/nvme/target/fabrics-cmd.c | 11 +++-- drivers/nvme/target/nvmet.h | 8 ++-- drivers/nvme/target/rdma.c | 16 +++---- include/trace/events/nbd.h | 2 +- 26 files changed, 314 insertions(+), 186 deletions(-) commit 33682c9a0f7aea5a9be2187dcb7d9591fbc70c94 Merge: c760b3725e52 a2db328b0839 Author: Jens Axboe <axboe@xxxxxxxxx> Date: Thu May 23 10:06:39 2024 -0600 Merge branch 'block-6.10' into test * block-6.10: (24 commits) null_blk: fix null-ptr-dereference while configuring 'power' and 'submit_queues' blk-throttle: remove unused struct 'avg_latency_bucket' block: fix lost bio for plug enabled bio based device block: t10-pi: add MODULE_DESCRIPTION() blk-mq: add helper for checking if one CPU is mapped to specified hctx blk-cgroup: Properly propagate the iostat update up the hierarchy blk-cgroup: fix list corruption from reorder of WRITE ->lqueued blk-cgroup: fix list corruption from resetting io stat cdrom: rearrange last_media_change check to avoid unintentional overflow nbd: Fix signal handling nbd: Remove a local variable from nbd_send_cmd() nbd: Improve the documentation of the locking assumptions nbd: Remove superfluous casts nbd: Use NULL to represent a pointer brd: implement discard support null_blk: Fix two sparse warnings ublk_drv: set DMA alignment mask to 3 nvme-rdma, nvme-tcp: include max reconnects for reconnect logging nvmet-rdma: Avoid o(n^2) loop in delete_ctrl nvme: do not retry authentication failures ... Signed-off-by: Jens Axboe <axboe@xxxxxxxxx> diff --cc block/blk-core.c index ea44b13af9af,dd29d5465af6..82c3ae22d76d --- a/block/blk-core.c +++ b/block/blk-core.c @@@ -618,7 -619,9 +621,9 @@@ static void __submit_bio(struct bio *bi if (unlikely(!blk_crypto_bio_prep(&bio))) return; + blk_start_plug(&plug); + - if (!bio->bi_bdev->bd_has_submit_bio) { + if (!bdev_test_flag(bio->bi_bdev, BD_HAS_SUBMIT_BIO)) { blk_mq_submit_bio(bio); } else if (likely(bio_queue_enter(bio) == 0)) { struct gendisk *disk = bio->bi_bdev->bd_disk; -- Jens Axboe