linux-stable/fs/ceph
Sage Weil b7495fc2ff ceph: make page alignment explicit in osd interface
We used to infer alignment of IOs within a page based on the file offset,
which assumed they matched.  This broke with direct IO that was not aligned
to pages (e.g., 512-byte aligned IO).  We were also trusting the alignment
specified in the OSD reply, which could have been adjusted by the server.

Explicitly specify the page alignment when setting up OSD IO requests.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-09 12:43:12 -08:00
..
addr.c ceph: make page alignment explicit in osd interface 2010-11-09 12:43:12 -08:00
caps.c ceph: fix rdcache_gen usage and invalidate 2010-11-08 07:29:05 -08:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c ceph: fix debugfs warnings 2010-10-20 15:38:21 -07:00
dir.c ceph: do not carry i_lock for readdir from dcache 2010-10-20 15:38:27 -07:00
export.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
file.c ceph: make page alignment explicit in osd interface 2010-11-09 12:43:12 -08:00
inode.c ceph: make page alignment explicit in osd interface 2010-11-09 12:43:12 -08:00
ioctl.c ceph: add CEPH_MDS_OP_SETDIRLAYOUT and associated ioctl. 2010-10-20 15:38:23 -07:00
ioctl.h ceph: add CEPH_MDS_OP_SETDIRLAYOUT and associated ioctl. 2010-10-20 15:38:23 -07:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
locks.c ceph: preallocate flock state without locks held 2010-10-20 15:38:17 -07:00
Makefile ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
mds_client.c ceph: fix uid/gid on resent mds requests 2010-11-08 07:29:05 -08:00
mds_client.h ceph: fix uid/gid on resent mds requests 2010-11-08 07:29:05 -08:00
mdsmap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
snap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
super.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
super.h ceph: fix rdcache_gen usage and invalidate 2010-11-08 07:29:05 -08:00
xattr.c fs/ceph/xattr.c: Use kmemdup 2010-10-20 15:38:26 -07:00