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)
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

diff --cc fs/ceph/caps.c
Simple merge
diff --cc fs/ceph/snap.c
Simple merge
diff --cc fs/ceph/super.h
Simple merge