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
First pile of statx patches #10922
Merged
Merged
First pile of statx patches #10922
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
37eb3b4
client: pass a mask parameter to path_walk
jtlayton d0fc2a8
mds/mdstypes: add btime to inode
liewegas 9591c51
mds/Server: set btime=ctime on creation
liewegas 9cbfc47
mds/MDCache: set btime on system inodes
liewegas e292d2b
include/ceph_features: add FS_BTIME features
liewegas 4349879
mds: pass btime in InodeStat MClientReply, if feature is present
liewegas e97e74a
client: keep btime in Inode and InodeStat
liewegas 34c6d59
ceph: break up ll_getattr into two functions
jtlayton 2115de0
client: move the device bitshift handling macros to Client.h
jtlayton f7c885e
libcephfs: add a ceph_ll_getattrx and ceph_statx
jtlayton 639b482
libcephfs: add a test for "lazy" statx
jtlayton d0889aa
mds/client: add btime to CapSnap and MClientCaps
jtlayton 6615553
mds/mdstypes: add change attribute to inode
jtlayton d7e185c
mds/Server: set change_attr to 0 on creation
jtlayton 90cbea8
mds/MDCache: set change_attr to 0 on system_inodes
jtlayton 6e7682b
include/ceph_features: add FS_CHANGE_ATTR feature
jtlayton b07a707
mds: pass change_attr in InodeStat MClientReply, if feature is present
jtlayton d3ff304
mds/client: keep change_attr in Inode, CapSnap and MClientCaps
jtlayton 9025668
mds: ensure that change_attr reflects metadata changes on clients tha…
jtlayton b77605f
mds/client: bump the change_attr at the appropriate time for files
jtlayton 50605be
libcephfs: return the change_attr in the statx.stx_version field
jtlayton 925e0e7
tests: add a ChangeAttr test
jtlayton 4d1eade
mds: make frag_info_t add_dirty() function take a pointer to touched_…
jtlayton 0d441dc
mds: add change_attr to frag_info_t
jtlayton 806991e
test: add test for change attribute of directories
jtlayton 3148b67
cephfs: rename ceph_mds_request_head and _args with a _legacy postfix
jtlayton 2bdc872
MDS: allow the MDS to accept requests to set the btime
jtlayton bce221c
client: add the ability to set the btime
jtlayton aa48835
client: add a ceph_fstatx
jtlayton c3efea6
client: extend the Btime test to cover fstatx as well
jtlayton 41041d9
SQUASH: client: request AUTH caps on the directory during create if w…
jtlayton a9d6478
SQUASH: Revert "mds: ensure that change_attr reflects metadata change…
jtlayton 0ac0551
SQUASH: client: always take a change_attr update from the server if i…
jtlayton 44b102f
SQUASH: mds/client: don't get clever with ceph_mds_request_head_legac…
jtlayton 821e77c
SQUASH: client: querying for stx_version field requires getting all s…
jtlayton 7c59b9e
SQUASH: mds/client: add routines to copy to/from ceph_mds_request_hea…
jtlayton 8e75bc1
SQUASH: client: request all shared caps if ctime was requested
jtlayton File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably ought to request CEPH_CAP_AUTH_SHARED here if client_permissions is true. I'll plan to fold that into this patch once others have had a chance to comment.