[Devel] [PATCH RHEL7 COMMIT] xfs: allow to mount xfs fs inside a Container

Konstantin Khorenko khorenko at virtuozzo.com
Thu Oct 12 11:46:32 MSK 2017


The commit is pushed to "branch-rh7-3.10.0-693.1.1.vz7.37.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.1.1.vz7.37.11
------>
commit bd6e2cba2495c03f989163a0d219b145ac9a63bb
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Mon Sep 18 17:53:58 2017 +0300

    xfs: allow to mount xfs fs inside a Container
    
    Intended usecase: iSCSI devices with XFS fs inside
    passthrough-ed into a Container.
    
    https://jira.sw.ru/browse/PSBM-72401
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 fs/xfs/xfs_super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 0aa0df3..932318e 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1733,7 +1733,7 @@ static struct file_system_type xfs_fs_type = {
 	.kill_sb		= kill_block_super,
 	.fs_flags		= FS_REQUIRES_DEV | FS_HAS_RM_XQUOTA |
 				  FS_HAS_INVALIDATE_RANGE | FS_HAS_DIO_IODONE2 |
-				  FS_HAS_NEXTDQBLK,
+				  FS_HAS_NEXTDQBLK | FS_VIRTUALIZED,
 };
 MODULE_ALIAS_FS("xfs");
 


More information about the Devel mailing list