]> Git Repo - linux.git/commit
block: freeze the queue in queue_attr_store
authorChristoph Hellwig <[email protected]>
Mon, 17 Jun 2024 06:04:38 +0000 (08:04 +0200)
committerJens Axboe <[email protected]>
Wed, 19 Jun 2024 13:58:28 +0000 (07:58 -0600)
commitaf2814149883e2c1851866ea2afcd8eadc040f79
tree919ad5db5c48453f9811a6df2fdc36db0f7c7493
parent6b377787a306253111404325aee98005b361e59a
block: freeze the queue in queue_attr_store

queue_attr_store updates attributes used to control generating I/O, and
can cause malformed bios if changed with I/O in flight.  Freeze the queue
in common code instead of adding it to almost every attribute.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
block/blk-mq.c
block/blk-sysfs.c
This page took 0.058411 seconds and 4 git commands to generate.