Re: [RFC PATCH] ceph: Convert to fs_context

2019-03-27 Thread David Howells
Yan, Zheng wrote: > > - if (fsopt->sb_flags != other->mount_options->sb_flags) { > > + if (fc->sb_flags != sb->s_flags) { Fixed with: @@ -945,7 +945,7 @@ static int ceph_compare_super(struct super_block *sb, struct fs_context *fc) dout("fsid doesn't match\n");

Re: [RFC PATCH] ceph: Convert to fs_context

2019-03-27 Thread Yan, Zheng
On Wed, Mar 20, 2019 at 10:53 PM David Howells wrote: > > Signed-off-by: David Howells > cc: Ilya Dryomov > cc: "Yan, Zheng" > cc: Sage Weil > cc: ceph-de...@vger.kernel.org > --- > > drivers/block/rbd.c | 362 +++- > fs/ceph/cache.c |9 - > fs

Re: [RFC PATCH] ceph: Convert to fs_context

2019-03-25 Thread Yan, Zheng
On Wed, Mar 20, 2019 at 10:53 PM David Howells wrote: > > Signed-off-by: David Howells > cc: Ilya Dryomov > cc: "Yan, Zheng" > cc: Sage Weil > cc: ceph-de...@vger.kernel.org > --- > > drivers/block/rbd.c | 362 +++- > fs/ceph/cache.c |9 - > fs

[RFC PATCH] ceph: Convert to fs_context

2019-03-20 Thread David Howells
Here's a patch that converts ceph to use the new fs_context struct. There may be prerequisite commits in the branch detailed below. The patch extends use of the parser infrastructure into libceph and rdb as there's a shared parser. This can be found in the following branch: http://gi

[RFC PATCH] ceph: Convert to fs_context

2019-03-20 Thread David Howells
Signed-off-by: David Howells cc: Ilya Dryomov cc: "Yan, Zheng" cc: Sage Weil cc: ceph-de...@vger.kernel.org --- drivers/block/rbd.c | 362 +++- fs/ceph/cache.c |9 - fs/ceph/cache.h |2 fs/ceph/super.c | 69