mbox series

[blktests,v3,0/6] enable bs > ps device testing

Message ID 20250212205448.2107005-1-mcgrof@kernel.org (mailing list archive)
Headers show
Series enable bs > ps device testing | expand

Message

Luis Chamberlain Feb. 12, 2025, 8:54 p.m. UTC
This v3 series addresses the feedback from the v2 series [0] and
makes some minor new changes, the change are:

  - Fixes all shellcheck complaints
  - Addresses spacing / tabs fixes
  - Adds _test_dev_suits_xfs() as suggested by Shinichiro and makes
    tests which require this depend on it
  - Clamps _min_io() to 4k as well for backward compatibility
  - Few minor enhancements to help capture up error messages from
    mkfs from block/032

This goes tested against a 64k sector size NVMe drive, and also
using ./check so regular loopback devices are used. This helps
test 64k sector devices, patches for which have been posted [1].
                                                                                                                                                                                              
[0] https://lkml.kernel.org/r/20250204225729.422949-1-mcgrof@kernel.org
[1] https://lkml.kernel.org/r/20250204231209.429356-1-mcgrof@kernel.org

Luis Chamberlain (6):
  common/xfs: ignore first umount error on _xfs_mkfs_and_mount()
  block/032: make error messages clearer if mkfs or mount fails
  common: add and use min io for fio
  common/xfs: use min io for fs blocksize
  tests: use test device min io to support bs > ps
  common/xfs: add _test_dev_suits_xfs() to verify logical block size
    will work

 common/fio      | 26 ++++++++++++++++++++++++--
 common/rc       | 24 ++++++++++++++++++++++++
 common/xfs      | 23 +++++++++++++++++++++--
 tests/block/003 |  6 +++++-
 tests/block/007 |  5 ++++-
 tests/block/032 |  7 ++++---
 tests/nvme/012  |  1 +
 tests/nvme/035  |  1 +
 tests/nvme/049  | 15 +++++++++++----
 9 files changed, 95 insertions(+), 13 deletions(-)

Comments

Shinichiro Kawasaki Feb. 14, 2025, 11:34 a.m. UTC | #1
On Feb 12, 2025 / 12:54, Luis Chamberlain wrote:
> This v3 series addresses the feedback from the v2 series [0] and
> makes some minor new changes, the change are:
> 
>   - Fixes all shellcheck complaints
>   - Addresses spacing / tabs fixes
>   - Adds _test_dev_suits_xfs() as suggested by Shinichiro and makes
>     tests which require this depend on it
>   - Clamps _min_io() to 4k as well for backward compatibility
>   - Few minor enhancements to help capture up error messages from
>     mkfs from block/032
> 
> This goes tested against a 64k sector size NVMe drive, and also
> using ./check so regular loopback devices are used. This helps
> test 64k sector devices, patches for which have been posted [1].
>                                                                                                                                                                                               
> [0] https://lkml.kernel.org/r/20250204225729.422949-1-mcgrof@kernel.org
> [1] https://lkml.kernel.org/r/20250204231209.429356-1-mcgrof@kernel.org

Luis, thank you very much for the improvements. I made comments on some of
the patches. FYI, I reflected my comments on your patches, and pushed them to a
github repo branch [2]. Please take a look in them and see if my comments make
sense or not.

[2] https://github.com/kawasaki/blktests/commits/bs_ps/
Luis Chamberlain Feb. 14, 2025, 6:54 p.m. UTC | #2
On Fri, Feb 14, 2025 at 11:34:07AM +0000, Shinichiro Kawasaki wrote:
> On Feb 12, 2025 / 12:54, Luis Chamberlain wrote:
> > This v3 series addresses the feedback from the v2 series [0] and
> > makes some minor new changes, the change are:
> > 
> >   - Fixes all shellcheck complaints
> >   - Addresses spacing / tabs fixes
> >   - Adds _test_dev_suits_xfs() as suggested by Shinichiro and makes
> >     tests which require this depend on it
> >   - Clamps _min_io() to 4k as well for backward compatibility
> >   - Few minor enhancements to help capture up error messages from
> >     mkfs from block/032
> > 
> > This goes tested against a 64k sector size NVMe drive, and also
> > using ./check so regular loopback devices are used. This helps
> > test 64k sector devices, patches for which have been posted [1].
> >                                                                                                                                                                                               
> > [0] https://lkml.kernel.org/r/20250204225729.422949-1-mcgrof@kernel.org
> > [1] https://lkml.kernel.org/r/20250204231209.429356-1-mcgrof@kernel.org
> 
> Luis, thank you very much for the improvements. I made comments on some of
> the patches. FYI, I reflected my comments on your patches, and pushed them to a
> github repo branch [2]. Please take a look in them and see if my comments make
> sense or not.
> 
> [2] https://github.com/kawasaki/blktests/commits/bs_ps/

Looks good, thanks for doing this, passes all my tests too, please feel
free to merge :)

  Luis
Shinichiro Kawasaki Feb. 21, 2025, 9:55 a.m. UTC | #3
On Feb 14, 2025 / 10:54, Luis Chamberlain wrote:
> On Fri, Feb 14, 2025 at 11:34:07AM +0000, Shinichiro Kawasaki wrote:
> > On Feb 12, 2025 / 12:54, Luis Chamberlain wrote:
> > > This v3 series addresses the feedback from the v2 series [0] and
> > > makes some minor new changes, the change are:
> > > 
> > >   - Fixes all shellcheck complaints
> > >   - Addresses spacing / tabs fixes
> > >   - Adds _test_dev_suits_xfs() as suggested by Shinichiro and makes
> > >     tests which require this depend on it
> > >   - Clamps _min_io() to 4k as well for backward compatibility
> > >   - Few minor enhancements to help capture up error messages from
> > >     mkfs from block/032
> > > 
> > > This goes tested against a 64k sector size NVMe drive, and also
> > > using ./check so regular loopback devices are used. This helps
> > > test 64k sector devices, patches for which have been posted [1].
> > >                                                                                                                                                                                               
> > > [0] https://lkml.kernel.org/r/20250204225729.422949-1-mcgrof@kernel.org
> > > [1] https://lkml.kernel.org/r/20250204231209.429356-1-mcgrof@kernel.org
> > 
> > Luis, thank you very much for the improvements. I made comments on some of
> > the patches. FYI, I reflected my comments on your patches, and pushed them to a
> > github repo branch [2]. Please take a look in them and see if my comments make
> > sense or not.
> > 
> > [2] https://github.com/kawasaki/blktests/commits/bs_ps/
> 
> Looks good, thanks for doing this, passes all my tests too, please feel
> free to merge :)

Thanks for the confirmation.
FYI, I applied the series with the modifications.