On Fri, Jan 16, 2015 at 01:47:36PM +0100, Jan Kara wrote:
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.
On Fri, Jan 16, 2015 at 01:47:35PM +0100, Jan Kara wrote:
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.
Looks good,
Reviewed-by: Christoph Hellwig h...@lst.de
On Fri, Jan 16, 2015 at 01:47:37PM +0100, Jan Kara wrote:
+EXPORT_SYMBOL(dquot_quota_enable);
+EXPORT_SYMBOL(dquot_quota_disable);
I can't find any modular users of this (in fact none outside this
file), so I'd suggest to keep these local.
+static void xfs_qm_fill_state(struct qc_type_state *tstate,
Normal xfs style would be to keep the static void on a separate line,
as well as the arguments, e.g.
static void
xfs_qm_fill_state(
struct qc_type_state*tstate,
+ struct xfs_mount *mp,
+
On Fri, Jan 16, 2015 at 01:47:43PM +0100, Jan Kara wrote:
Call -quota_sync method from Q_XQUOTASYNC for better userspace
compatibility.
Q_XQUOTASYNC never did the equivalent to -quota_sync, but rather was
the equivalent to sys_syncfs which also happens to write out quotas.
Unless you have a
On Fri, Jan 16, 2015 at 01:47:39PM +0100, Jan Kara wrote:
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
Looks good,
Reviewed-by: Christoph Hellwig h...@lst.de
diff --git a/fs/xfs/libxfs/xfs_fs.h b/fs/xfs/libxfs/xfs_fs.h
index 18dc721ca19f..f718ba1f2ccb 100644
--- a/fs/xfs/libxfs/xfs_fs.h
+++ b/fs/xfs/libxfs/xfs_fs.h
@@ -559,18 +559,4 @@ typedef struct xfs_swapext
/* XFS_IOC_GETFSUUID -- deprecated 140 */
-#ifndef
Looks good,
Reviewed-by: Christoph Hellwig h...@lst.de
Looks good,
Reviewed-by: Christoph Hellwig h...@lst.de
Hi,
This patch checks for the GFS2_DIF_SYSTEM bit on system dinodes. If the
bit is not set, the dinode is assumed to be corrupt and rebuilt.
If the jindex is rebuilt, it needs to be re-read.
Regards,
Bob Peterson
Red Hat File Systems
Signed-off-by: Bob Peterson rpete...@redhat.com
---
diff
Hi,
This patch checks the jindex system directory to make sure the entries
all start with journal and so forth. If not, the jindex is deleted
and rebuilt. As part of this patch, I moved where we read in the rindex
file and rgrps to an earlier point in time, before the journals are
replayed. This
Hi,
In the past, pass5 has kept track of different counts for the different
metadata types, but the counts did not correspond to the type in the
bitmap. This patch changes pass5 so that it makes a little more sense.
There should be a straightforward blockmap-to-bitmap conversion, and
the counts
14 matches
Mail list logo