aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2022-04-25 19:54:27 +0000
committerIlya Dryomov <[email protected]>2022-05-10 07:48:31 +0000
commit620239d9a32e9fe27c9204ec11e40058671aeeb6 (patch)
treecc09721841bb8ed9f31cb4baeeb8f98393d8278e /tools/perf/scripts/python/compaction-times.py
parentLinux 5.18-rc6 (diff)
downloadkernel-620239d9a32e9fe27c9204ec11e40058671aeeb6.tar.gz
kernel-620239d9a32e9fe27c9204ec11e40058671aeeb6.zip
ceph: fix setting of xattrs on async created inodes
Currently when we create a file, we spin up an xattr buffer to send along with the create request. If we end up doing an async create however, then we currently pass down a zero-length xattr buffer. Fix the code to send down the xattr buffer in req->r_pagelist. If the xattrs span more than a page, however give up and don't try to do an async create. Cc: [email protected] URL: https://bugzilla.redhat.com/show_bug.cgi?id=2063929 Fixes: 9a8d03ca2e2c ("ceph: attempt to do async create when possible") Reported-by: John Fortin <[email protected]> Reported-by: Sri Ramanujam <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Xiubo Li <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions