ceph: don't use CEPH_OSD_FLAG_ORDERSNAP
authorYan, Zheng <zyan@redhat.com>
Wed, 16 Aug 2017 09:27:05 +0000 (17:27 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 6 Sep 2017 17:56:48 +0000 (19:56 +0200)
commitb178cf4304f26551cb05915eb6c6b1736617366b
treeb19e059ca29f47c5b8cbe743c64b929013b5fcc2
parent1c0a9c2d978360493054315196c51d8328fa7fae
ceph: don't use CEPH_OSD_FLAG_ORDERSNAP

Inode can be moved between snap realms. It's possible inode is moved
into a snap realm whose seq number is smaller than old snap realm's.
So there is no guarantee that seq number inode's snap context always
increases.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/file.c