commit | d7f124f129a6aea99938e0d4172c741b56fefeda | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Mon Jun 13 16:22:18 2011 -0700 |
committer | Sage Weil <sage@newdream.net> | Mon Jun 13 16:26:22 2011 -0700 |
tree | 25ee1b2b91de6e490ddd05b00d6a3f844a224987 | |
parent | 9bb0ce2b0b734f3325ea5cd6b351856eeac94f78 [diff] |
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>