Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for XFS #51

Open
zlind0 opened this issue Aug 11, 2021 · 1 comment
Open

Support for XFS #51

zlind0 opened this issue Aug 11, 2021 · 1 comment

Comments

@zlind0
Copy link

zlind0 commented Aug 11, 2021

Recently I did some tests without noticing that I am actually testing XFS and the pjdfstest doesn't support XFS file system.
The outcome is that, there is one failed testcase, symlink-03, which creates a symbolic link of 4095 characters length.

not ok 1 - tried 'symlink .............', expected 0, got ENAMETOOLONG

For XFS filesystem, XFS_SYMLINK_MAXLEN is limited to 1024 characters according to this patch. Since XFS performs better than EXT4 in some scenarios and is becoming increasingly popular, wouldn't it be nice if some slight changes are made thus the pjdfstest could support XFS?

@asomers
Copy link
Collaborator

asomers commented Aug 11, 2021

Yes, it would be nice. Does XFS report that via pathconf(2) with the _PC_SYMLINK_MAX key? If so, pjdfstest should check for that.

asomers pushed a commit to asomers/pjdfstest that referenced this issue Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants