[Cluster-devel] [GFS2 PATCH] gfs2: getlabel support

2018-08-20 Thread Abhi Das
Add support for the GETFSLABEL ioctl in gfs2. I tested this patch and it works as expected. Signed-off-by: Steve Whitehouse Tested-by: Abhi Das --- fs/gfs2/file.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index 08369c6..6510f4e 100644

Re: [Cluster-devel] [GFS2 PATCH] gfs2: don't hold the sd_jindex_spin during recovery

2018-08-20 Thread Steven Whitehouse
Hi, On 17/08/18 16:53, Bob Peterson wrote: Hi, The sd_jindex_spin is used to serialize access to the sd_jindex_list. Before this patch function gfs2_recover_set would hold the spin_lock while recovery is running. Since recovery may take a very long time, other processes needing to use the

[Cluster-devel] [PATCH v2 6/8] dlm: use seq_open_data in table_openN functions

2018-08-20 Thread Rasmus Villemoes
Using the seq_open_data helper simplifies these to oneliners. Signed-off-by: Rasmus Villemoes --- Depends on 1/8 introducing seq_open_data. fs/dlm/debug_fs.c | 44 1 file changed, 4 insertions(+), 40 deletions(-) diff --git a/fs/dlm/debug_fs.c

Re: [Cluster-devel] [PATCH v2 1/8] seq_file: introduce seq_open_data helper

2018-08-20 Thread Andy Shevchenko
On Sat, Aug 18, 2018 at 4:26 PM Rasmus Villemoes wrote: > > There are quite a few callers of seq_open that could be simplified by > setting the ->private member via the seq_open call instead of fetching > file->private_data afterwards. > I like this series, Reviewed-by: Andy Shevchenko P.S.

[Cluster-devel] [PATCH v2 1/8] seq_file: introduce seq_open_data helper

2018-08-20 Thread Rasmus Villemoes
There are quite a few callers of seq_open that could be simplified by setting the ->private member via the seq_open call instead of fetching file->private_data afterwards. Signed-off-by: Rasmus Villemoes --- v2: - Fix some copy-pastos spotted by Andreas. - Ensure everybody hit by an example