Re: [PATCH] common: Add infrastructure for syncfs syscall tests

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



On Mon, Dec 4, 2017 at 8:05 AM, Chengguang Xu <cgxu@xxxxxxxxxxxx> wrote:
>
...
>> All right.
>> We don't need to implement FS_IOC_SHUTDOWN on overlay, we
>> only need to shutdown upper fs if upper fs supports shutdown.
>> Doing that would be the equivalent of a dm-flakey test for a blokdev fs,
>> because upper fs is the only persistent storage of overlayfs.
>> Thanks for the advice.
>>
>> Chengguang,
>>
>> I propose that you teach _require_scratch_shutdown about
>> OVL_BASE_SCRATCH_MNT and write and overlay/* test
>> that tests syncfs by shutting down upper fs if upper fs supports shutdown.
>
> OK, let me try this way, for data correctness I’ll use stat & md5_checksum.
> Is there anything else should I add for checking?
>

Sounds good to me.

Amir.
--
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