diff options
author | 2024-02-28 05:37:41 -0800 | |
---|---|---|
committer | 2024-03-06 08:27:00 -0700 | |
commit | 0127a47f58c6bb7b54386960ee66864b937269eb (patch) | |
tree | 4a6ea92c3bb2bb92e52e0dd067ae97f8893cc1db /scripts/gdb/linux/utils.py | |
parent | dasd: cleamup dasd_state_basic_to_ready (diff) | |
download | linux-rng-0127a47f58c6bb7b54386960ee66864b937269eb.tar.xz linux-rng-0127a47f58c6bb7b54386960ee66864b937269eb.zip |
dasd: move queue setup to common code
Most of the code in setup_blk_queue is shared between all disciplines.
Move it to common code and leave a method to query the maximum number
of transferable blocks, and a flag to indicate discard support.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20240228133742.806274-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions