WSL2-Linux-Kernel/include/linux/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
..
auth.h
buffer.h
ceph_debug.h
ceph_frag.h
ceph_fs.h ceph: add CEPH_MDS_OP_SETDIRLAYOUT and associated ioctl. 2010-10-20 15:38:23 -07:00
ceph_hash.h
debugfs.h
decode.h
libceph.h ceph: fix comment, remove extraneous args 2010-11-09 12:24:53 -08:00
mdsmap.h
messenger.h ceph: explicitly specify page alignment in network messages 2010-11-09 12:43:17 -08:00
mon_client.h
msgpool.h
msgr.h
osd_client.h ceph: make page alignment explicit in osd interface 2010-11-09 12:43:12 -08:00
osdmap.h
pagelist.h ceph: add pagelist_reserve, pagelist_truncate, pagelist_set_cursor 2010-10-20 15:38:16 -07:00
rados.h
types.h