Re: [Cluster-devel] [Pacemaker] HA Summit Key-signing Party

2015-01-26 Thread Digimer
On 26/01/15 09:14 AM, Jan Pokorný wrote: Hello cluster masters, On 13/01/15 00:31 -0500, Digimer wrote: Any concerns/comments/suggestions, please speak up ASAP! I'd like to throw a key-signing party as it will be a perfect opportunity to build a web of trust amongst us. If you haven't

Re: [Cluster-devel] HA Summit Key-signing Party

2015-01-26 Thread Christine Caulfield
On 26/01/15 14:14, Jan Pokorný wrote: Hello cluster masters, On 13/01/15 00:31 -0500, Digimer wrote: Any concerns/comments/suggestions, please speak up ASAP! I'd like to throw a key-signing party as it will be a perfect opportunity to build a web of trust amongst us. Good idea. and it's

[Cluster-devel] [PATCH 15/16] xfs: Add support for Q_SETINFO

2015-01-26 Thread Jan Kara
Add support to XFS so that time limits can be set through Q_SETINFO quotactl. Signed-off-by: Jan Kara j...@suse.cz --- fs/xfs/xfs_quotaops.c | 37 + 1 file changed, 37 insertions(+) diff --git a/fs/xfs/xfs_quotaops.c b/fs/xfs/xfs_quotaops.c index

[Cluster-devel] [PATCH 06/16] ocfs2: Use generic helpers for quotaon and quotaoff

2015-01-26 Thread Jan Kara
Ocfs2 can just use the generic helpers provided by quota code for turning quotas on and off when quota files are stored as system inodes. The only difference is the feature test in ocfs2_quota_on() and that is covered by dquot_quota_enable() checking whether usage tracking is enabled (which can

[Cluster-devel] [PATCH 16/16] quota: Hook up Q_XSETQLIM for id 0 to -set_info

2015-01-26 Thread Jan Kara
Setting timers or warning counts for id 0 via Q_XSETQLIM is used to actually set time limits and warning limits for all users. Hook up -set_info to this so that VFS quota time limits get set the same way as XFS ones. When doing this Q_XSETQLIM for XFS is effectively split into two independent

[Cluster-devel] [PATCH 07/16] quota: Remove quota_on_meta callback

2015-01-26 Thread Jan Kara
There are no more users for quota_on_meta callback. Just remove it. Reviewed-by: Christoph Hellwig h...@lst.de Signed-off-by: Jan Kara j...@suse.cz --- fs/quota/quota.c | 5 + include/linux/quota.h | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/fs/quota/quota.c

[Cluster-devel] [PATCH 09/16] quota: Make VFS quotas use new interface for getting quota info

2015-01-26 Thread Jan Kara
Create new internal interface for getting information about quota which contains everything needed for both VFS quotas and XFS quotas. Make VFS use this and hook it up to Q_GETINFO. Reviewed-by: Christoph Hellwig h...@lst.de Signed-off-by: Jan Kara j...@suse.cz --- fs/ext3/super.c | 2

[Cluster-devel] [PATCH 11/16] xfs: Convert to using -get_state callback

2015-01-26 Thread Jan Kara
Convert xfs to use -get_state callback instead of -get_xstate and -get_xstatev. Signed-off-by: Jan Kara j...@suse.cz --- fs/xfs/xfs_qm.h | 4 -- fs/xfs/xfs_qm_syscalls.c | 176 --- fs/xfs/xfs_quotaops.c| 98 +++--- 3

[Cluster-devel] [PATCH 14/16] quota: Make -set_info use structure with neccesary info to VFS and XFS

2015-01-26 Thread Jan Kara
Change -set_info to take new qc_info structure which contains all the necessary information both for XFS and VFS. Convert Q_SETINFO handler to use this structure. Signed-off-by: Jan Kara j...@suse.cz --- fs/quota/dquot.c | 27 --- fs/quota/quota.c | 21

[Cluster-devel] [PATCH 02/16] quota: Split -set_xstate callback into two

2015-01-26 Thread Jan Kara
Split -set_xstate callback into two callbacks - one for turning quotas on (-quota_enable) and one for turning quotas off (-quota_disable). That way we don't have to pass quotactl command into the callback which seems cleaner. Reviewed-by: Christoph Hellwig h...@lst.de Signed-off-by: Jan Kara

[Cluster-devel] [PATCH 00/16 v4] quota: Unify VFS and XFS quota interfaces

2015-01-26 Thread Jan Kara
Hello, this is another iteration of patches to unify VFS and XFS quota interfaces so that XFS quotactls work for filesystems with VFS quotas and vice versa. This is useful so that userspace doesn't have to care that much about which filesystem it is using at least when using basic quota

[Cluster-devel] [PATCH 12/16] gfs2: Convert to using -get_state callback

2015-01-26 Thread Jan Kara
Convert gfs2 to use -get_state callback instead of -get_xstate. Signed-off-by: Jan Kara j...@suse.cz --- fs/gfs2/quota.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 3e193cb36996..c76e031ccbb4 100644

[Cluster-devel] [PATCH 10/16] quota: Wire up Q_GETXSTATE and Q_GETXSTATV calls to work with -get_state

2015-01-26 Thread Jan Kara
Add appropriate conversion functions so that filesystems supporting -get_state() method can be queried using Q_GETXSTATE and Q_GETXSTATV calls. Reviewed-by: Christoph Hellwig h...@lst.de Signed-off-by: Jan Kara j...@suse.cz --- fs/quota/quota.c | 138

Re: [Cluster-devel] [fsck.gfs2 PATCH] fsck.gfs2: Change block_map to match bitmap

2015-01-26 Thread Bob Peterson
- Original Message - Hi Bob, On 22/01/15 20:41, Bob Peterson wrote: Hi, This patch changes the old block_map structure for fsck.gfs2 to the simpler bitmap structure so that we have a 1:1 correspondence. This was done to reduce memory requirements of fsck.gfs2. I'm curious

[Cluster-devel] HA Summit Key-signing Party (was: Organizing HA Summit 2015)

2015-01-26 Thread Jan Pokorný
Hello cluster masters, On 13/01/15 00:31 -0500, Digimer wrote: Any concerns/comments/suggestions, please speak up ASAP! I'd like to throw a key-signing party as it will be a perfect opportunity to build a web of trust amongst us. If you haven't incorporated OpenPGP to your communication with

[Cluster-devel] [PATCH 08/16] quota: Store maximum space limit in bytes

2015-01-26 Thread Jan Kara
Currently maximum space limit quota format supports is in blocks however since we store space limits in bytes, this is somewhat confusing. So store the maximum limit in bytes as well. Also rename the field to match the new unit and related inode field to match the new naming scheme. Reviewed-by:

[Cluster-devel] [PATCH 03/16] quota: Wire up -quota_{enable, disable} callbacks into Q_QUOTA{ON, OFF}

2015-01-26 Thread Jan Kara
Make Q_QUOTAON / Q_QUOTAOFF quotactl call -quota_enable / -quota_disable callback when provided. To match current behavior of ocfs2 ext4 we make these quotactls turn on / off quota enforcement for appropriate quota type. Reviewed-by: Christoph Hellwig h...@lst.de Signed-off-by: Jan Kara

[Cluster-devel] [PATCH 01/16] quota: Switch -get_dqblk() and -set_dqblk() to use bytes as space units

2015-01-26 Thread Jan Kara
Currently -get_dqblk() and -set_dqblk() use struct fs_disk_quota which tracks space limits and usage in 512-byte blocks. However VFS quotas track usage in bytes (as some filesystems require that) and we need to somehow pass this information. Upto now it wasn't a problem because we didn't do any

Re: [Cluster-devel] [GFS2 PATCH] GFS2: Eliminate a nonsense goto

2015-01-26 Thread Steven Whitehouse
Hi, Now in the -nmw git tree. Thanks, Steve. On 22/01/15 16:11, Bob Peterson wrote: Hi, This patch just removes a goto that did nothing. Regards, Bob Peterson Red Hat File Systems Signed-off-by: Bob Peterson rpete...@redhat.com --- diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index

Re: [Cluster-devel] [fsck.gfs2 PATCH] fsck.gfs2: Change block_map to match bitmap

2015-01-26 Thread Andrew Price
Hi Bob, On 22/01/15 20:41, Bob Peterson wrote: Hi, This patch changes the old block_map structure for fsck.gfs2 to the simpler bitmap structure so that we have a 1:1 correspondence. This was done to reduce memory requirements of fsck.gfs2. I'm curious as to whether we're losing any useful

Re: [Cluster-devel] [fsck.gfs2 PATCH] fsck.gfs2: Fix journal sequence number reporting problem

2015-01-26 Thread Andrew Price
On 23/01/15 19:10, Bob Peterson wrote: Hi, This bug was spotted by coverity. The fsck.gfs2 should include a line to report the number of journal sequence errors fixed. It was coded improperly so that it was never displayed. This patch fixes the code so that the message will be printed properly.