Skip to contentSkip to conversation

New test and a fixup for blktests

GIT PULL Jens Axboe 2 participants 5 messages Jun 21, 2017 – Jun 26, 2017 Block layer

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Omar,

Two changes here:

- block/006 wants to use the iops results, but it isn't using _fio_perf.
- Add block/010 to test for shared vs non-shared tags performance.

https://github.com/axboe/blktests.git axboe

----------------------------------------------------------------
Jens Axboe (2):
block/006: use _fio_perf to get perf results block/010: add test case for shared/unshared tags

 tests/block/006     |  4 +--
 tests/block/010     | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/block/010.out |  2 ++
 3 files changed, 86 insertions(+), 2 deletions(-)
 create mode 100755 tests/block/010
 create mode 100644 tests/block/010.out
Signature · 1 line
Jens Axboe
#1 lore raw
Quoted 16 lines · Jens Axboe

Hi Omar,

Two changes here:

- block/006 wants to use the iops results, but it isn't using _fio_perf.
- Add block/010 to test for shared vs non-shared tags performance.

https://github.com/axboe/blktests.git axboe

----------------------------------------------------------------
Jens Axboe (2):
block/006: use _fio_perf to get perf results block/010: add test case for shared/unshared tags

Quoted 10 lines
 tests/block/006     |  4 +--
 tests/block/010     | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/block/010.out |  2 ++
 3 files changed, 86 insertions(+), 2 deletions(-)
 create mode 100755 tests/block/010
 create mode 100644 tests/block/010.out
Signature · 1 line
Jens Axboe

Thanks, Jens, applied the first one, but

[ 1876.142470] null_blk: unknown parameter 'shared_tags' ignored

Am I missing a patch?

author maintainer
#2 lore raw
Quoted 28 lines · Omar Sandoval
Quoted 16 lines · Jens Axboe

Hi Omar,

Two changes here:

- block/006 wants to use the iops results, but it isn't using _fio_perf.
- Add block/010 to test for shared vs non-shared tags performance.

https://github.com/axboe/blktests.git axboe

----------------------------------------------------------------
Jens Axboe (2):
block/006: use _fio_perf to get perf results block/010: add test case for shared/unshared tags

Quoted 10 lines
 tests/block/006     |  4 +--
 tests/block/010     | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/block/010.out |  2 ++
 3 files changed, 86 insertions(+), 2 deletions(-)
 create mode 100755 tests/block/010
 create mode 100644 tests/block/010.out
Signature · 1 line
Jens Axboe
Quoted 5 lines

Thanks, Jens, applied the first one, but

[ 1876.142470] null_blk: unknown parameter 'shared_tags' ignored

Am I missing a patch?

Yes, the shared tags is a new feature, it's coming in 4.13. But I checked and it doesn't abort the module load. So the test ends up just being the same thing run twice, if shared_tags isn't available. I figured that was good enough.

Signature · 1 line
Jens Axboe
#3 lore raw
Quoted 31 lines · Jens Axboe
Quoted 30 lines · Omar Sandoval
Quoted 16 lines · Jens Axboe

Hi Omar,

Two changes here:

- block/006 wants to use the iops results, but it isn't using _fio_perf.
- Add block/010 to test for shared vs non-shared tags performance.

https://github.com/axboe/blktests.git axboe

----------------------------------------------------------------
Jens Axboe (2):
block/006: use _fio_perf to get perf results block/010: add test case for shared/unshared tags

Quoted 10 lines
 tests/block/006     |  4 +--
 tests/block/010     | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/block/010.out |  2 ++
 3 files changed, 86 insertions(+), 2 deletions(-)
 create mode 100755 tests/block/010
 create mode 100644 tests/block/010.out
Signature · 1 line
Jens Axboe

Thanks, Jens, applied the first one, but

Quoted 8 lines
Quoted 3 lines
[ 1876.142470] null_blk: unknown parameter 'shared_tags' ignored

Am I missing a patch?

Yes, the shared tags is a new feature, it's coming in 4.13. But I checked and it doesn't abort the module load. So the test ends up just being the same thing run twice, if shared_tags isn't available. I figured that was good enough.

Sounds good, I'll apply it as-is and add an extra patch on top that checks if the module parameter exists.

author maintainer
#4 lore raw
Quoted 36 lines · Omar Sandoval
Quoted 35 lines · Jens Axboe
Quoted 33 lines · Omar Sandoval
Quoted 16 lines · Jens Axboe

Hi Omar,

Two changes here:

- block/006 wants to use the iops results, but it isn't using _fio_perf.
- Add block/010 to test for shared vs non-shared tags performance.

https://github.com/axboe/blktests.git axboe

----------------------------------------------------------------
Jens Axboe (2):
block/006: use _fio_perf to get perf results block/010: add test case for shared/unshared tags

Quoted 10 lines
 tests/block/006     |  4 +--
 tests/block/010     | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/block/010.out |  2 ++
 3 files changed, 86 insertions(+), 2 deletions(-)
 create mode 100755 tests/block/010
 create mode 100644 tests/block/010.out
Signature · 1 line
Jens Axboe

Thanks, Jens, applied the first one, but

[ 1876.142470] null_blk: unknown parameter 'shared_tags' ignored

Am I missing a patch?

Quoted 7 lines
Quoted 4 lines

Yes, the shared tags is a new feature, it's coming in 4.13. But I checked and it doesn't abort the module load. So the test ends up just being the same thing run twice, if shared_tags isn't available. I figured that was good enough.

Sounds good, I'll apply it as-is and add an extra patch on top that checks if the module parameter exists.

Awesome, extra cookie for you :-)

Signature · 1 line
Jens Axboe