summaryrefslogtreecommitdiffstats
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-06-14 01:22:18 +0200
committerSage Weil <sage@newdream.net>2011-06-14 01:26:22 +0200
commitd7f124f129a6aea99938e0d4172c741b56fefeda (patch)
tree25ee1b2b91de6e490ddd05b00d6a3f844a224987 /fs/pnode.c
parentlibceph: fix page calculation for non-page-aligned io (diff)
downloadlinux-d7f124f129a6aea99938e0d4172c741b56fefeda.tar.xz
linux-d7f124f129a6aea99938e0d4172c741b56fefeda.zip
ceph: fix sync and dio writes across stripe boundaries
We were iterating across stripe boundaries properly, but not moving the write buffer pointer forward. This caused us to rewrite the same data after the break. Fix by adjusting the data pointer forward, and recalculating the io and buffer alignment after the break. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/pnode.c')
0 files changed, 0 insertions, 0 deletions