Re: [PATCH v5 02/12] common/rc: Add _require_fio_version helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/09/2025 16:51, Ojaswin Mujoo wrote:
This requires the user to know the version which corresponds to the feature.
Is that how things are done for other such utilities and their versions vs
features?
Hi John,

So there are not many such helpers but the 2 I could see were used this
way:

tests/btrfs/284:
    _require_btrfs_send_version 2

tests/nfs/001:
    _require_test_nfs_version 4

So I though of keeping it this way.

What about the example of _require_xfs_io_command param, which checks if $param is supported?

We could have _require_fio_option atomics, which checks if a specific version is available which supports atomic? Or a more straightforward would be _require_fio_with_atomics.

Cheers





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux