diff options
| author | Pankaj Raghav <[email protected]> | 2022-09-29 07:47:44 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-09-29 13:45:47 +0000 |
| commit | 8cafdb5ab94cda3ebb0975be16e2d564a05132ea (patch) | |
| tree | e2ca60d8a274c3bd3d5a8e673428ac2ba267ade8 /drivers/fpga/xilinx-spi.c | |
| parent | Merge tag 'nvme-6.1-2022-09-28' of git://git.infradead.org/nvme into for-6.1/... (diff) | |
| download | kernel-8cafdb5ab94cda3ebb0975be16e2d564a05132ea.tar.gz kernel-8cafdb5ab94cda3ebb0975be16e2d564a05132ea.zip | |
block: adapt blk_mq_plug() to not plug for writes that require a zone lock
The current implementation of blk_mq_plug() disables plugging for all
operations that involves a transfer to the device as we just check if
the last bit in op_is_write() function.
Modify blk_mq_plug() to disable plugging only for REQ_OP_WRITE and
REQ_OP_WRITE_ZEROS as they might require a zone lock.
Suggested-by: Christoph Hellwig <[email protected]>
Suggested-by: Damien Le Moal <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Pankaj Raghav <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
