diff options
author | Yan, Zheng <zyan@redhat.com> | 2014-11-14 22:38:29 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@redhat.com> | 2014-12-17 20:09:52 +0300 |
commit | 28127bdd2f843e996f24b51a70a0592c7ec5c763 (patch) | |
tree | f6053dbabcc606d7a5270f6069bc70e305cafe9d /usr | |
parent | 83701246aee8f83b4b42483051b439fbe96ed47d (diff) | |
download | linux-28127bdd2f843e996f24b51a70a0592c7ec5c763.tar.bz2 |
ceph: convert inline data to normal data before data write
Before any data write, convert inline data to normal data and set
i_inline_version to CEPH_INLINE_NONE. The OSD request that saves
inline data to object contains 3 operations (CMPXATTR, WRITE and
SETXATTR). It compares a xattr named 'inline_version' to prevent
old data overwrites newer data.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions