Re: [PATCH v2 2/4] common/rc: support checking the version of dm-target in _require_dm_target()

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



Hi,

On 2017/11/8 17:49, Eryu Guan wrote:
> On Wed, Nov 08, 2017 at 04:02:48PM +0800, Hou Tao wrote:
>> Some features of dm-target are not available on the old linux kernel,
>> and we can use the version of dm-target to check the availability.
> 
> We don't check version numbers in fstests, but actually try what is
> requested and _notrun if the test run failed.

OK.

> I think we can keep _require_dm_target unchanged and add a new
> _require_dmflakey_error_writes in common/dmflakey, e.g.
> 
> _require_dmflakey_error_writes()
> {
> 	_require_dm_targets flakey
> 
> 	<try creating flakey table with error_writes option here and
> 	_notrun if failed>
> }
> 
> And call this new _require rule in the test.

Will do it.

Thanks.
Tao

> Thanks,
> Eryu
> 
> .
> 

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux