[Devel] [PATCH rh7 1/7] vfs: Add general support to enforce project quota limits

2015-11-06 Thread Stanislav Kinsburskiy
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:

[Devel] [PATCH rh7 3/7] quota: Allow each filesystem to specify which quota types it supports

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 0/7] ext4 project quota: precursor patch set

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 5/7] quota: Remove const from function declarations

2015-11-06 Thread Stanislav Kinsburskiy
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 |

[Devel] [PATCH rh7 3/7] quota: Allow each filesystem to specify which quota types it supports

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 4/7] ext4: Convert to private i_dquot field

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 2/7] ext4: don't use MAXQUOTAS value

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 1/7] vfs: Add general support to enforce project quota limits

2015-11-06 Thread Stanislav Kinsburskiy
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:

[Devel] [PATCH rh7 4/7] ext4: Convert to private i_dquot field

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 5/7] quota: Remove const from function declarations

2015-11-06 Thread Stanislav Kinsburskiy
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 |

[Devel] [PATCH rh7 0/7] ext4 project quota: precursor patch set

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 7/7] ext4: reserve code points for the project quota feature

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] test mail

2015-11-06 Thread Sergey Bronnikov
please disregard ___ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel

[Devel] [PATCH rh7 6/7] quota: Use function to provide i_dquot pointers

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 6/7] quota: Use function to provide i_dquot pointers

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] test email #1 2015.11.06

2015-11-06 Thread Konstantin Khorenko
test email -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team ___ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel

[Devel] [PATCH rh7 7/7] ext4: reserve code points for the project quota feature

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] test mail

2015-11-06 Thread Sergey Bronnikov
Please disregard -- sergeyb@ ___ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel

[Devel] [PATCH rh7 2/7] ext4: don't use MAXQUOTAS value

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 4/4] ext4: cleanup inode flag definitions

2015-11-06 Thread Stanislav Kinsburskiy
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:

[Devel] [PATCH rh7 3/4] ext4: adds FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interface support

2015-11-06 Thread Stanislav Kinsburskiy
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>

[Devel] [PATCH rh7 1/4] ext4: adds project ID support

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 2/4] ext4: adds project quota support

2015-11-06 Thread Stanislav Kinsburskiy
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

[Devel] [PATCH rh7 0/4] ext4 project quota backport

2015-11-06 Thread Stanislav Kinsburskiy
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):