Skip to content

Commit b41ba87

Browse files
kelsey-steelechessturo
authored andcommitted
configs: Enable EROFS and CEPH configs for WSL
CONFIG_CEPH* flags were previously disabled due to not being used by WSL, however, after the release we recieved some reports of CEPH being used externally. There is no known harm to keeping CEPH enabled. Re-enable the previously used CONFIG_CEPH* flags to use in WSL for amd64 and arm64. Enabling: CONFIG_CEPH_LIB CONFIG_CEPH_FS CONFIG_CEPH_FSCACHE CONFIG_CEPH_FS_POSIX_ACL Enable EROFS configs to allow Enhanced Read-Only File Systems to be used in WSL. Enabling: CONFIG_EROFS_FS CONFIG_EROFS_FS_XATTR CONFIG_EROFS_FS_POSIX_ACL CONFIG_EROFS_FS_SECURITY CONFIG_EROFS_FS_ZIP Signed-off-by: Kelsey Steele <kelseysteele@microsoft.com>
1 parent 6871be1 commit b41ba87

2 files changed

Lines changed: 26 additions & 6 deletions

File tree

arch/arm64/configs/config-wsl-arm64

100755100644
Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,9 @@ CONFIG_NET_9P=y
14431443
CONFIG_NET_9P_VIRTIO=y
14441444
# CONFIG_NET_9P_DEBUG is not set
14451445
# CONFIG_CAIF is not set
1446-
# CONFIG_CEPH_LIB is not set
1446+
CONFIG_CEPH_LIB=y
1447+
# CONFIG_CEPH_LIB_PRETTYDEBUG is not set
1448+
# CONFIG_CEPH_LIB_USE_DNS_RESOLVER is not set
14471449
# CONFIG_NFC is not set
14481450
# CONFIG_PSAMPLE is not set
14491451
# CONFIG_NET_IFE is not set
@@ -3527,7 +3529,12 @@ CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
35273529
# CONFIG_PSTORE is not set
35283530
# CONFIG_SYSV_FS is not set
35293531
# CONFIG_UFS_FS is not set
3530-
# CONFIG_EROFS_FS is not set
3532+
CONFIG_EROFS_FS=y
3533+
# CONFIG_EROFS_FS_DEBUG is not set
3534+
CONFIG_EROFS_FS_XATTR=y
3535+
CONFIG_EROFS_FS_POSIX_ACL=y
3536+
CONFIG_EROFS_FS_SECURITY=y
3537+
CONFIG_EROFS_FS_ZIP=y
35313538
CONFIG_NETWORK_FILESYSTEMS=y
35323539
CONFIG_NFS_FS=y
35333540
CONFIG_NFS_V2=y
@@ -3567,7 +3574,10 @@ CONFIG_SUNRPC_GSS=y
35673574
CONFIG_SUNRPC_BACKCHANNEL=y
35683575
# CONFIG_RPCSEC_GSS_KRB5 is not set
35693576
# CONFIG_SUNRPC_DEBUG is not set
3570-
# CONFIG_CEPH_FS is not set
3577+
CONFIG_CEPH_FS=y
3578+
CONFIG_CEPH_FSCACHE=y
3579+
CONFIG_CEPH_FS_POSIX_ACL=y
3580+
# CONFIG_CEPH_FS_SECURITY_LABEL is not set
35713581
CONFIG_CIFS=y
35723582
# CONFIG_CIFS_STATS2 is not set
35733583
CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y

arch/x86/configs/config-wsl

100755100644
Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,9 @@ CONFIG_NET_9P=y
14761476
CONFIG_NET_9P_VIRTIO=y
14771477
# CONFIG_NET_9P_DEBUG is not set
14781478
# CONFIG_CAIF is not set
1479-
# CONFIG_CEPH_LIB is not set
1479+
CONFIG_CEPH_LIB=y
1480+
# CONFIG_CEPH_LIB_PRETTYDEBUG is not set
1481+
# CONFIG_CEPH_LIB_USE_DNS_RESOLVER is not set
14801482
# CONFIG_NFC is not set
14811483
# CONFIG_PSAMPLE is not set
14821484
# CONFIG_NET_IFE is not set
@@ -3372,7 +3374,12 @@ CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
33723374
# CONFIG_PSTORE is not set
33733375
# CONFIG_SYSV_FS is not set
33743376
# CONFIG_UFS_FS is not set
3375-
# CONFIG_EROFS_FS is not set
3377+
CONFIG_EROFS_FS=y
3378+
# CONFIG_EROFS_FS_DEBUG is not set
3379+
CONFIG_EROFS_FS_XATTR=y
3380+
CONFIG_EROFS_FS_POSIX_ACL=y
3381+
CONFIG_EROFS_FS_SECURITY=y
3382+
CONFIG_EROFS_FS_ZIP=y
33763383
CONFIG_NETWORK_FILESYSTEMS=y
33773384
CONFIG_NFS_FS=y
33783385
CONFIG_NFS_V2=y
@@ -3412,7 +3419,10 @@ CONFIG_SUNRPC_GSS=y
34123419
CONFIG_SUNRPC_BACKCHANNEL=y
34133420
# CONFIG_RPCSEC_GSS_KRB5 is not set
34143421
# CONFIG_SUNRPC_DEBUG is not set
3415-
# CONFIG_CEPH_FS is not set
3422+
CONFIG_CEPH_FS=y
3423+
CONFIG_CEPH_FSCACHE=y
3424+
CONFIG_CEPH_FS_POSIX_ACL=y
3425+
# CONFIG_CEPH_FS_SECURITY_LABEL is not set
34163426
CONFIG_CIFS=y
34173427
# CONFIG_CIFS_STATS2 is not set
34183428
CONFIG_CIFS_ALLOW_INSECURE_LEGACY=y

0 commit comments

Comments
 (0)