summaryrefslogtreecommitdiffstats
path: root/xlators/performance
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2018-10-15 16:15:17 +0800
committerRaghavendra G <rgowdapp@redhat.com>2018-11-06 10:17:05 +0000
commit93e9b4c167f582234e08e2608fc844bdf02fd507 (patch)
tree61b1fc6b0517a65300ff95100177605f7a056e18 /xlators/performance
parent40318205bfcf75c6eee1c4c18f103260a77a7886 (diff)
md-cache: remove xattr setting after new file created
Fops of creating file does not request cached xattrs, the xattr in reply is not cached xattrs. Change-Id: Iab2db686e92466e72cfee8ac494e851d797c10b3 Updates: bz#1634220 Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Diffstat (limited to 'xlators/performance')
-rw-r--r--xlators/performance/md-cache/src/md-cache.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index bf4b6399549..685745b956a 100644
--- a/xlators/performance/md-cache/src/md-cache.c
+++ b/xlators/performance/md-cache/src/md-cache.c
@@ -1542,7 +1542,6 @@ mdc_mknod_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret,
if (local->loc.inode) {
mdc_inode_iatt_set(this, local->loc.inode, buf, local->incident_time);
- mdc_inode_xatt_set(this, local->loc.inode, local->xattr);
}
out:
MDC_STACK_UNWIND(mknod, frame, op_ret, op_errno, inode, buf, preparent,
@@ -1593,7 +1592,6 @@ mdc_mkdir_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret,
if (local->loc.inode) {
mdc_inode_iatt_set(this, local->loc.inode, buf, local->incident_time);
- mdc_inode_xatt_set(this, local->loc.inode, local->xattr);
}
out:
MDC_STACK_UNWIND(mkdir, frame, op_ret, op_errno, inode, buf, preparent,
@@ -1921,7 +1919,6 @@ mdc_create_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
if (local->loc.inode) {
mdc_inode_iatt_set(this, inode, buf, local->incident_time);
- mdc_inode_xatt_set(this, local->loc.inode, local->xattr);
}
out:
MDC_STACK_UNWIND(create, frame, op_ret, op_errno, fd, inode, buf, preparent,