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