]> git.karo-electronics.de Git - linux-beck.git/commit
ceph: record truncate size/seq for snap data writeback
authorYan, Zheng <zyan@redhat.com>
Tue, 15 Nov 2016 08:04:37 +0000 (16:04 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Dec 2016 22:54:27 +0000 (23:54 +0100)
commit5f743e4566063c3944c8a2e525ed2fe9d25fc271
tree0833d38faed46bfc734ec419aecc0d13a5666866
parente9e427f0a14f7e4773896dd7af357819a56d097a
ceph: record truncate size/seq for snap data writeback

Dirty snapshot data needs to be flushed unconditionally. If they
were created before truncation, writeback should use old truncate
size/seq.

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