linux_dsm_epyc7002/net/ceph
Sage Weil c5c6b19d4b ceph: explicitly specify page alignment in network messages
The alignment used for reading data into or out of pages used to be taken
from the data_off field in the message header.  This only worked as long
as the page alignment matched the object offset, breaking direct io to
non-page aligned offsets.

Instead, explicitly specify the page alignment next to the page vector
in the ceph_msg struct, and use that instead of the message header (which
probably shouldn't be trusted).  The alloc_msg callback is responsible for
filling in this field properly when it sets up the page vector.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-09 12:43:17 -08:00
..
crush ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
armor.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_none.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_none.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_x_protocol.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_x.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth_x.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
auth.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
buffer.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
ceph_common.c ceph: don't crash when passed bad mount options 2010-10-20 15:38:22 -07:00
ceph_fs.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
ceph_hash.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
ceph_strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
crypto.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
crypto.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c rbd: introduce rados block device (rbd), based on libceph 2010-10-20 15:38:13 -07:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
Makefile ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
messenger.c ceph: explicitly specify page alignment in network messages 2010-11-09 12:43:17 -08:00
mon_client.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
msgpool.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
osd_client.c ceph: explicitly specify page alignment in network messages 2010-11-09 12:43:17 -08:00
osdmap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
pagelist.c ceph: fix num_pages_free accounting in pagelist 2010-10-20 15:38:23 -07:00
pagevec.c ceph: fix comment, remove extraneous args 2010-11-09 12:24:53 -08:00