Re: [PATCH 0/2 V2] xfs_io: hook up statx

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

 




On 3/27/17 12:47 PM, Eric Sandeen wrote:
> On 3/27/17 5:00 AM, David Howells wrote:
>> Eric Sandeen <sandeen@xxxxxxxxxxx> wrote:
>>
>>> These 2 patches are a second pass to add a statx command
>>> to xfs_io in hopes that it will aid creation of xfstests
>>> statx regression tests.
>> Would it be possible to redirect all the stat() calls made by xfstests to
>> statx() with translation of the output buffer back to struct stat?
> I'm sure LD_PRELOAD tricks could do that, but it'd be a little unusual
> for xfstests, at least - kind of a side hack that's not really expected
> and therefore wouldn't get consistently run.

(and thinking about it a bit more, s/stat/statx/ would be the barest
of bare minimum testing - it leaves out verification of all the
interesting behaviors of the new interface...)

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



[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