{"push_id":1289151820,"size":78,"distinct_size":4,"ref":"refs/heads/wip-16921","head":"1d53346542532a551fbdd89d59ce8d923d2ed82d","before":"8f2c1598873b20917bb982443602d8a848852597","commits":[{"sha":"37eb3b4ed07e12a6b5f849fd4e8c0247cbd59eed","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"client: pass a mask parameter to path_walk\n\nll_walk expects to get a set of attributes out of a path_walk. Pass a\ncaps mask parameter into path_walk, and then apply it when we reach the\nlast component of the path.\n\nThis may prevent us from having to further iteract with the server after\nthe pathwalk, in some cases. If we know that we're going to need certain\ncaps to do the actual operation we can request them during the lookup\nand may have all that we need by the time we go to do the real request.\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/37eb3b4ed07e12a6b5f849fd4e8c0247cbd59eed"},{"sha":"d0fc2a852ad148130b4aa4000afac5674ba9d537","author":{"name":"Sage Weil","email":"de0588efcded8ff54c4ac7fcbd6d8ada6aa5c289@redhat.com"},"message":"mds/mdstypes: add btime to inode\n\nSigned-off-by: Sage Weil <sage@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/d0fc2a852ad148130b4aa4000afac5674ba9d537"},{"sha":"9591c51c90cab24f18eabd83d9972350ba5ce450","author":{"name":"Sage Weil","email":"de0588efcded8ff54c4ac7fcbd6d8ada6aa5c289@redhat.com"},"message":"mds/Server: set btime=ctime on creation\n\nSigned-off-by: Sage Weil <sage@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/9591c51c90cab24f18eabd83d9972350ba5ce450"},{"sha":"9cbfc47b47efef05eb9f59f1198c4b0636794422","author":{"name":"Sage Weil","email":"de0588efcded8ff54c4ac7fcbd6d8ada6aa5c289@redhat.com"},"message":"mds/MDCache: set btime on system inodes\n\nSigned-off-by: Sage Weil <sage@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/9cbfc47b47efef05eb9f59f1198c4b0636794422"},{"sha":"e292d2bef59e912ac9c4fdf9572bf79b291341ca","author":{"name":"Sage Weil","email":"de0588efcded8ff54c4ac7fcbd6d8ada6aa5c289@redhat.com"},"message":"include/ceph_features: add FS_BTIME features\n\nSigned-off-by: Sage Weil <sage@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/e292d2bef59e912ac9c4fdf9572bf79b291341ca"},{"sha":"4349879a69462d2bd37cd5f3883b6e9f242db844","author":{"name":"Sage Weil","email":"de0588efcded8ff54c4ac7fcbd6d8ada6aa5c289@redhat.com"},"message":"mds: pass btime in InodeStat MClientReply, if feature is present\n\nSigned-off-by: Sage Weil <sage@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/4349879a69462d2bd37cd5f3883b6e9f242db844"},{"sha":"e97e74a4931e1b4de97193c2a42d61a683a67c73","author":{"name":"Sage Weil","email":"de0588efcded8ff54c4ac7fcbd6d8ada6aa5c289@redhat.com"},"message":"client: keep btime in Inode and InodeStat\n\nSigned-off-by: Sage Weil <sage@redhat.com>\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/e97e74a4931e1b4de97193c2a42d61a683a67c73"},{"sha":"34c6d592a0d2325d46a2829effdad6f7429a656e","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"ceph: break up ll_getattr into two functions\n\n...in preparation for adding a ll_getattrx.\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/34c6d592a0d2325d46a2829effdad6f7429a656e"},{"sha":"2115de04a417e6df4272fc836829b70bd6a2b97e","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"client: move the device bitshift handling macros to Client.h\n\nWe'll need them in Client.cc now in addition to FUSE specific code.\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/2115de04a417e6df4272fc836829b70bd6a2b97e"},{"sha":"f7c885e1f9cefc359f8b6fe7e51e212387432529","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"libcephfs: add a ceph_ll_getattrx and ceph_statx\n\nNew interfaces for fetching extended (and selective) stat information.\nAdditionally, applications can specify AT_NO_ATTR_SYNC in the flags to\nindicate that they want to do a \"lazy\" statx that just hands out the\ninode info from the cache, or AT_SYMLINK_NOFOLLOW to avoid following\nsymlinks when walking the path.\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/f7c885e1f9cefc359f8b6fe7e51e212387432529"},{"sha":"639b482903cc023cb8c82916b892f76774136f16","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"libcephfs: add a test for \"lazy\" statx\n\nCreate 2 clients. Create a file in client1, and do a lookup of it in\nclient2, and then ll_getattrx it from client2. chmod the file from\nclient1, ll_getattrx it client2 (this time with AT_NO_ATTR_SYNC) and\nensure that the ctime change is not seen.\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/639b482903cc023cb8c82916b892f76774136f16"},{"sha":"d0889aa5faf910955fcb769b2b17132dcc389bf3","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"mds/client: add btime to CapSnap and MClientCaps\n\nCurrently we don't have a mechanism to set the btime, but we will need\nthat eventually. If we want to allow the client to cache that change, we\nneed to be able to pass it back and forth between client and server.\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/d0889aa5faf910955fcb769b2b17132dcc389bf3"},{"sha":"6615553e8e8802a754901ddbe473274dc31f4351","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"mds/mdstypes: add change attribute to inode\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/6615553e8e8802a754901ddbe473274dc31f4351"},{"sha":"d7e185c6a91b44ac6bb1284a5184ceb0ead4c4d3","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"mds/Server: set change_attr to 0 on creation\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/d7e185c6a91b44ac6bb1284a5184ceb0ead4c4d3"},{"sha":"90cbea83e8a2389e4616b4a68f04b6e8b5b170a9","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"mds/MDCache: set change_attr to 0 on system_inodes\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/90cbea83e8a2389e4616b4a68f04b6e8b5b170a9"},{"sha":"6e7682b47e8d4d3be3dc3818d5bdd2b16bfc5a27","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"include/ceph_features: add FS_CHANGE_ATTR feature\n\n...that is mapped to BTIME feature.\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/6e7682b47e8d4d3be3dc3818d5bdd2b16bfc5a27"},{"sha":"b07a707ad0ea31b1ef34ea949751d14c55bc1e8a","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"mds: pass change_attr in InodeStat MClientReply, if feature is present\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/b07a707ad0ea31b1ef34ea949751d14c55bc1e8a"},{"sha":"d3ff304a7aab6563b0e5d45585fdb1cd64309d0f","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"mds/client: keep change_attr in Inode, CapSnap and MClientCaps\n\n...and pass it around appropriately.\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/d3ff304a7aab6563b0e5d45585fdb1cd64309d0f"},{"sha":"902566840bedba0b3115e704291a3f1131b1904f","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"mds: ensure that change_attr reflects metadata changes on clients that hold CAP_FILE_EXCL\n\nSuppose we have two clients. client1 holds FILE_EXCL cap and client2\nholds AUTH_EXCL.  Both have the change_attr at the same value (call it\n1).  client1 does 2 writes and its change_attr goes to 3. The client1\nthen queries for the change_attr and gets back 3 from the cache. The MDS\nthen recalls FILE_EXCL from client1 and now the MDS and client1 have the\nsame change_attr (3).\n\nclient2 then does a chmod on the file, and its change_attr goes to 2.\nclient1 then does a statx with STX_VERSION|STX_MODE. The MDS recalls the\nAUTH_EXCL cap from client2, the change_attr in the MClientCaps is less\nthan the one in the MDS inode, so it gets discarded. client1 then sees\na new mode but the change_attr value has not changed, which violates the\nrules.\n\nFix this with an extra increment of the MDS copy of the change_attr when\nthe caps being returned are dirty, and they don't contain exclusive write\ncaps.\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/902566840bedba0b3115e704291a3f1131b1904f"},{"sha":"b77605f9d0b4ab7de92523cefeefae91c971baea","author":{"name":"Jeff Layton","email":"0a799ee4f46e914219e7741adcc5e93178d519ec@redhat.com"},"message":"mds/client: bump the change_attr at the appropriate time for files\n\nThe semantics for a change_attr are that it should be incremented\nwhenever there is a change to the ctime in the inode. Add those\nincrements for the simple case of regular files. Directories however can\nbe fragmented so we'll need to do something more elaborate there.\n\nSigned-off-by: Jeff Layton <jlayton@redhat.com>","distinct":false,"url":"https://api.github.com/repos/dillaman/ceph/commits/b77605f9d0b4ab7de92523cefeefae91c971baea"}]}
{"actor":{"display_login":"dillaman"}}