diff options
author | Sage Weil <sage@newdream.net> | 2010-11-09 21:43:12 +0100 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-11-09 21:43:12 +0100 |
commit | b7495fc2ff941db6a118a93ab8d61149e3f4cef8 (patch) | |
tree | 231c339d74760e2fa13e5e6f41c10bc28cea51b3 /net/irda/irlmp_event.c | |
parent | ceph: fix comment, remove extraneous args (diff) | |
download | linux-b7495fc2ff941db6a118a93ab8d61149e3f4cef8.tar.xz linux-b7495fc2ff941db6a118a93ab8d61149e3f4cef8.zip |
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>
Diffstat (limited to 'net/irda/irlmp_event.c')
0 files changed, 0 insertions, 0 deletions