]> git.baikalelectronics.ru Git - kernel.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)
commit463eadc37e6068ee4e2a4892125ad6cd25f423d5
treeda7986234d3e3254571b615dfe87673dfe0c6fbf
parent2d74ad29fdc70f0a56486f7a3c0705859c993421
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