Re: Hi, how to test the patch?

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

 



Hi,

On Mon 01-08-16 11:53:21, Zhang AiHua wrote:
>     "ext4: fix races between page faults and hole punching"
> 
>     can you tell me how to test the patch? Thank you very much.

Well, it is not really easy to test for (which is why I haven't written an
xfstest for that) :). You can prepare a some zeroed file, mmap it, and read
it through mmap while puching holes into the file and also randomly filling
holes back while writing zeroes. When there is some other activity in the
filesystem allocating blocks and writing to them some data, you may see
this data instead of zeros in the mmap if the bug triggers.

If you create a successful reproducer, please let me know and consider
contributing it to xfstests so that we can check the behavior.

								Honza
-- 
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux