While working on object layout, we have encountered a general protection fault in xdr_shrink_bufhead when killing a process performing a lot of reads. we reproduced it on kernel v3.3 as follows: * mount an object-based pNFS file system. we used exofs as the MDS. assume the mount point is /mnt/pnfs * cp -r /bin /mnt/pnfs * run: cd /mnt/pnfs while while true; do echo 3 > /proc/sys/vm/drop_caches; rm -rf bin cp -r bin /tmp & sleep 1 kill -s int $! done * on my setup it crashed after a couple of minutes, your mileage may vary. The first patch is the actual fix. the other two are cleanups. Idan Kedar (3): pnfs: defer release of pages in layoutget pnfs: nfs4_proc_layoutget returns void pnfs: use size_t for LAYOUTGET response pages count fs/nfs/nfs4proc.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++-- fs/nfs/pnfs.c | 39 +--------------------------------- fs/nfs/pnfs.h | 2 +- 3 files changed, 60 insertions(+), 42 deletions(-) -- 1.7.6.5 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html