RFR: 8262844: FileStore.supportsFileAttributeView might return false negative in case of ext3

Brian Burkhalter bpb at openjdk.java.net
Tue Mar 2 23:38:42 UTC 2021


On Tue, 2 Mar 2021 19:51:18 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> 8262844: FileStore.supportsFileAttributeView might return false negative in case of ext3
>
> @bplb Would you have cycles to look at this one? We've always tried to reduce the probing on the mount points but this one means we will probe ext3 systems. I can't quire tell if this is something specific to SuSE or whether other distributions enable it too.

Apparently as of version 11-SP3, the default file system of SLES was changed to Ext3 [1]. In [2] it is stated that

"The default inode size of ext3 file systems has been increased from 128 bytes to 256 bytes on SLES11, because of extended attributes / ACLs."

>From this it may be inferred that extended attributes are enabled by default from SLES 11. One may therefore suppose that the kernel was built with configuration item CONFIG_EXT3_FS_XATTR set to Y [3].

[1] https://www.suse.com/releasenotes/x86_64/SUSE-SLES/11-SP3/, section 6.8
[2] https://www.suse.com/support/kb/doc/?id=000017683
[3] https://cateee.net/lkddb/web-lkddb/EXT3_FS_XATTR.html

-------------

PR: https://git.openjdk.java.net/jdk/pull/2778


More information about the nio-dev mailing list