]> git.openfabrics.org - ~emulex/infiniband.git/commit
ceph: flush inline version
authorYan, Zheng <zyan@redhat.com>
Fri, 14 Nov 2014 14:39:13 +0000 (22:39 +0800)
committerIlya Dryomov <idryomov@redhat.com>
Wed, 17 Dec 2014 17:09:53 +0000 (20:09 +0300)
commite20d258d73a8d565b729b6fc0290e060daabd8b8
treeda7986234d3e3254571b615dfe87673dfe0c6fbf
parent28127bdd2f843e996f24b51a70a0592c7ec5c763
ceph: flush inline version

After converting inline data to normal data, client need to flush
the new i_inline_version (CEPH_INLINE_NONE) to MDS. This commit makes
cap messages (sent to MDS) contain inline_version and inline_data.
Client always converts inline data to normal data before data write,
so the inline data length part is always zero.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c
fs/ceph/snap.c
fs/ceph/super.h