From: Li Xi
This patch adds support for a new quota type PRJQUOTA for project quota
enforcement. Also a new method get_projid() is added into dquot_operations
structure.
Signed-off-by: Li Xi
Signed-off-by: Dmitry Monakhov
Reviewed-by:
From: Jan Kara
Currently all filesystems supporting VFS quota support user and group
quotas. With introduction of project quotas this is going to change so
make sure filesystem isn't called for quota type it doesn't support by
introduction of a bitmask determining which quota types
We require this patch set to backport ext4 project quota by Li Xi.
Required for back porting of "ext4 project quota" itself:
https://jira.sw.ru/browse/PSBM-40727
---
Jan Kara (5):
ext4: don't use MAXQUOTAS value
quota: Allow each filesystem to specify which quota types it supports
From: Jan Kara
We don't use const through VFS too much so just remove it from quota
function declarations.
Signed-off-by: Jan Kara
Signed-off-by: Stanislav Kinsburskiy
---
fs/quota/dquot.c |4 ++--
include/linux/quotaops.h |
From: Jan Kara
Currently all filesystems supporting VFS quota support user and group
quotas. With introduction of project quotas this is going to change so
make sure filesystem isn't called for quota type it doesn't support by
introduction of a bitmask determining which quota types
From: Jan Kara
CC: linux-e...@vger.kernel.org
Acked-by: "Theodore Ts'o"
Acked-by: Christoph Hellwig
Signed-off-by: Jan Kara
Signed-off-by: Stanislav Kinsburskiy
---
fs/ext4/ext4.h |4
From: Jan Kara
MAXQUOTAS value defines maximum number of quota types VFS supports.
This isn't necessarily the number of types ext4 supports. Although
ext4 will support project quotas, use ext4 private definition for
consistency with other filesystems.
Signed-off-by: Jan Kara
From: Li Xi
This patch adds support for a new quota type PRJQUOTA for project quota
enforcement. Also a new method get_projid() is added into dquot_operations
structure.
Signed-off-by: Li Xi
Signed-off-by: Dmitry Monakhov
Reviewed-by:
From: Jan Kara
CC: linux-e...@vger.kernel.org
Acked-by: "Theodore Ts'o"
Acked-by: Christoph Hellwig
Signed-off-by: Jan Kara
Signed-off-by: Stanislav Kinsburskiy
---
fs/ext4/ext4.h |4
From: Jan Kara
We don't use const through VFS too much so just remove it from quota
function declarations.
Signed-off-by: Jan Kara
Signed-off-by: Stanislav Kinsburskiy
---
fs/quota/dquot.c |4 ++--
include/linux/quotaops.h |
This patches are required for smooth backport of ext4 project quota by Li Xi.
Parent task:
https://jira.sw.ru/browse/PSBM-40727
---
Jan Kara (5):
ext4: don't use MAXQUOTAS value
quota: Allow each filesystem to specify which quota types it supports
ext4: Convert to private
Signed-off-by: Theodore Ts'o
Signed-off-by: Stanislav Kinsburskiy
---
fs/ext4/ext4.h |8 +++-
include/uapi/linux/fs.h |1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index
please disregard
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
From: Jan Kara
i_dquot array is used by relatively few filesystems (ext?, ocfs2, jfs,
reiserfs) so it is beneficial to move this array to fs-private part of
the inode. We cannot just pass quota pointers from filesystems to quota
functions because during quotaon and quotaoff we have
From: Jan Kara
i_dquot array is used by relatively few filesystems (ext?, ocfs2, jfs,
reiserfs) so it is beneficial to move this array to fs-private part of
the inode. We cannot just pass quota pointers from filesystems to quota
functions because during quotaon and quotaoff we have
test email
--
Best regards,
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
Signed-off-by: Theodore Ts'o
Signed-off-by: Stanislav Kinsburskiy
---
fs/ext4/ext4.h |8 +++-
include/uapi/linux/fs.h |1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index
Please disregard
--
sergeyb@
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
From: Jan Kara
MAXQUOTAS value defines maximum number of quota types VFS supports.
This isn't necessarily the number of types ext4 supports. Although
ext4 will support project quotas, use ext4 private definition for
consistency with other filesystems.
Signed-off-by: Jan Kara
The inode flags defined in uapi/linux/fs.h were migrated from
ext4.h. This patch changes the inode flag definitions in ext4.h
to VFS definitions to make the gaps between them clearer.
Ported to rhel7:
https://patchwork.ozlabs.org/patch/463782/
Signed-off-by: Li Xi
Reviewed-by:
This patch adds FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR ioctl interface
support for ext4. The interface is kept consistent with
XFS_IOC_FSGETXATTR/XFS_IOC_FSGETXATTR.
Ported to rhel7:
https://patchwork.ozlabs.org/patch/517146/
Signed-off-by: Li Xi ddn.com>
Reviewed-by: Andreas Dilger dilger.ca>
This patch adds a new internal field of ext4 inode to save project
identifier. Also a new flag EXT4_INODE_PROJINHERIT is added for
inheriting project ID from parent directory.
Ported to rhel7:
https://patchwork.ozlabs.org/patch/517145/
Signed-off-by: Li Xi
Reviewed-by: Andreas
This patch adds mount options for enabling/disabling project quota
accounting and enforcement. A new specific inode is also used for
project quota accounting.
Ported to rhel7:
https://patchwork.ozlabs.org/patch/517148/
Signed-off-by: Li Xi
Signed-off-by: Dmitry Monakhov
This patch set is a back ported "ext4 project quota v15" series by Li Xi.
The patch set is not upstream yet, but it looks like mostly accepted by
maintainers and, hopefully, will be merged more or less soon in mostly the
same shape.
Below is a link to kernel patches (v15):
24 matches
Mail list logo