linux/fs/exofs
Boaz Harrosh 4b74f6ea84 exofs: Fix __r4w_get_page when offset is beyond i_size
It is very common for the end of the file to be unaligned on
stripe size. But since we know it's beyond file's end then
the XOR should be preformed with all zeros.

Old code used to just read zeros out of the OSD devices, which is a great
waist. But what scares me more about this situation is that, we now have
pages attached to the file's mapping that are beyond i_size. I don't
like the kind of bugs this calls for.

Fix both birds, by returning a global ZERO_PAGE, if offset is beyond
i_size.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
2012-08-02 14:58:22 +03:00
..
BUGS
common.h
dir.c exofs: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:22 +08:00
exofs.h exofs: Add SYSFS info for autologin/pNFS export 2012-05-21 12:24:01 +03:00
file.c
inode.c exofs: Fix __r4w_get_page when offset is beyond i_size 2012-08-02 14:58:22 +03:00
Kbuild exofs: Add SYSFS info for autologin/pNFS export 2012-05-21 12:24:01 +03:00
Kconfig ore: FIX breakage when MISC_FILESYSTEMS is not set 2012-01-06 16:48:14 +02:00
Kconfig.ore ore: FIX breakage when MISC_FILESYSTEMS is not set 2012-01-06 16:48:14 +02:00
namei.c vfs: check i_nlink limits in vfs_{mkdir,rename_dir,link} 2012-03-20 21:29:32 -04:00
ore_raid.c ore: Unlock r4w pages in exact reverse order of locking 2012-07-20 11:49:25 +03:00
ore_raid.h
ore.c ore: Remove support of partial IO request (NFS crash) 2012-07-20 11:47:43 +03:00
super.c exofs: stop using s_dirt 2012-08-02 14:52:13 +03:00
symlink.c
sys.c exofs: fix sparse non-ANSI function warning 2012-06-12 06:33:22 +03:00