mbox series

[blktests,v2,0/2] Add a test that triggers blk_mq_update_nr_hw_queues()

Message ID 20191024210352.71080-1-bvanassche@acm.org (mailing list archive)
Headers show
Series Add a test that triggers blk_mq_update_nr_hw_queues() | expand

Message

Bart Van Assche Oct. 24, 2019, 9:03 p.m. UTC
Hi Omar,

This patch series includes the test that I used to verify my recently posted
blk_mq_update_nr_hw_queues() patches. Please consider these patches for
inclusion in the blktests repository.

Thanks,

Bart.

Changes compared to v1:
- _uptime_s() now uses awk to read /proc/uptime.
- Removed subshells from tests/block/029.
- Changed find ... | wc -l into nproc.
- Skip kernel versions that do not support modifying the null_blk submit_queues
  attribute.

Bart Van Assche (2):
  Move and rename uptime_s()
  Add a test that triggers blk_mq_update_nr_hw_queues()

 common/multipath-over-rdma |  9 +-----
 common/rc                  |  5 +++
 tests/block/029            | 64 ++++++++++++++++++++++++++++++++++++++
 tests/block/029.out        |  1 +
 tests/nvmeof-mp/rc         |  2 +-
 tests/srp/014              |  2 +-
 tests/srp/rc               |  2 +-
 7 files changed, 74 insertions(+), 11 deletions(-)
 create mode 100755 tests/block/029
 create mode 100644 tests/block/029.out

Comments

Omar Sandoval Oct. 30, 2019, 8:45 p.m. UTC | #1
On Thu, Oct 24, 2019 at 02:03:50PM -0700, Bart Van Assche wrote:
> Hi Omar,
> 
> This patch series includes the test that I used to verify my recently posted
> blk_mq_update_nr_hw_queues() patches. Please consider these patches for
> inclusion in the blktests repository.
> 
> Thanks,
> 
> Bart.
> 
> Changes compared to v1:
> - _uptime_s() now uses awk to read /proc/uptime.
> - Removed subshells from tests/block/029.
> - Changed find ... | wc -l into nproc.
> - Skip kernel versions that do not support modifying the null_blk submit_queues
>   attribute.
> 
> Bart Van Assche (2):
>   Move and rename uptime_s()
>   Add a test that triggers blk_mq_update_nr_hw_queues()

Thanks, Bart, applied and pushed.