Re: [PATCH] [RESEND] fs: cachefiles: Add support for large files infilesystem caching

From: Andrew Morton
Date: Tue Jun 19 2012 - 03:51:45 EST


On Tue, 19 Jun 2012 10:57:27 +0530 Suresh Jayaraman <sjayaraman@xxxxxxxx> wrote:

> > How extensively was this change tested? Please describe the testing
> > which was performed?
> >
>
> The original patch was tested by mounting a NFS share with fscache
> option enabled, do a md5sum on a nfs file larger than 2GB and ensure
> that the file is getting cached by fscache (watch cache size growing)
> on x86_64.

Well it will need a lot more coverage testing than that. truncate?
expanding truncate? write, lseek, pwrite, pread(), mmap(MAP_SHARED),
behavior at the new max file size (what is that?), etc.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/