]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ceph: new mount option that specifies fscache uniquifier
authorYan, Zheng <zyan@redhat.com>
Tue, 27 Jun 2017 03:57:56 +0000 (11:57 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 7 Jul 2017 15:25:14 +0000 (17:25 +0200)
commit1d8f83604c4244d93c5a49f5107624769df6248f
treedc6760e0d0f8bf3364bd52499c435e3c404bf867
parent4b9f2042fd2a9da7e6c7b4dd49eff19dc3754e4f
ceph: new mount option that specifies fscache uniquifier

Current ceph uses FSID as primary index key of fscache data. This
allows ceph to retain cached data across remount. But this causes
problem (kernel opps, fscache does not support sharing data) when
a filesystem get mounted several times (with fscache enabled, with
different mount options).

The fix is adding a new mount option, which specifies uniquifier
for fscache.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/cache.c
fs/ceph/super.c
fs/ceph/super.h