From: Teng Jie Date: Wed, 23 Aug 2023 09:01:10 +0000 (+0800) Subject: cephfs-shell: bump up acceptable xattr value len to 64K X-Git-Tag: v19.0.0~184^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3774d7319baec7a55ea98c54a205b23f52a33a7e;p=ceph.git cephfs-shell: bump up acceptable xattr value len to 64K Fixes: https://tracker.ceph.com/issues/62545 Signed-off-by: teng jie --- diff --git a/src/tools/cephfs/shell/cephfs-shell b/src/tools/cephfs/shell/cephfs-shell index 60ad79c6126c..96a606f24d44 100755 --- a/src/tools/cephfs/shell/cephfs-shell +++ b/src/tools/cephfs/shell/cephfs-shell @@ -1633,7 +1633,7 @@ class CephFSShell(Cmd): """ try: poutput('{}'.format(cephfs.getxattr(args.path, - to_bytes(args.name)).decode('utf-8'))) + to_bytes(args.name), size=65536).decode('utf-8'))) except libcephfs.Error as e: set_exit_code_msg(msg=e)