diff options
| author | Anuradha Talur <atalur@commvault.com> | 2019-04-24 12:06:23 -0700 |
|---|---|---|
| committer | Anuradha Talur <atalur@commvault.com> | 2019-04-25 08:41:02 -0700 |
| commit | de11b4a476b297129065bc7477229e57643ac196 (patch) | |
| tree | b3dbc31d95e72271e9e363081668b1827ce7d380 /xlators/features/cloudsync/src/cloudsync-fops-c.py | |
| parent | 2b86da69df423a90b76932bd32b7a17bd5ac2add (diff) | |
cloudsync: Make readdirp return stat info of all the dirents
This change got missed while the initial changes were sent.
Should have been a part of :
https://review.gluster.org/#/c/glusterfs/+/21757/
Gist of the change:
Function that fills in stat info for dirents is
invoked in readdirp in posix when cloudsync populates xdata
request with GF_CS_OBJECT_STATUS.
Change-Id: Ide0c4e80afb74cd2120f74ba934ed40123152d69
updates: bz#1642168
Signed-off-by: Anuradha Talur <atalur@commvault.com>
Diffstat (limited to 'xlators/features/cloudsync/src/cloudsync-fops-c.py')
| -rwxr-xr-x | xlators/features/cloudsync/src/cloudsync-fops-c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/cloudsync/src/cloudsync-fops-c.py b/xlators/features/cloudsync/src/cloudsync-fops-c.py index a7a2201275c..8878b70a715 100755 --- a/xlators/features/cloudsync/src/cloudsync-fops-c.py +++ b/xlators/features/cloudsync/src/cloudsync-fops-c.py @@ -285,7 +285,7 @@ loc_stat_op_fop_template = ['lookup', 'stat', 'discover', 'access', 'setattr', # These fops need a separate implementation special_fops = ['statfs', 'setxattr', 'unlink', 'getxattr', - 'truncate', 'fstat', 'readv'] + 'truncate', 'fstat', 'readv', 'readdirp'] def gen_defaults(): for name in ops: |
