From 3774d7319baec7a55ea98c54a205b23f52a33a7e Mon Sep 17 00:00:00 2001 From: Teng Jie Date: Wed, 23 Aug 2023 17:01:10 +0800 Subject: [PATCH] cephfs-shell: bump up acceptable xattr value len to 64K Fixes: https://tracker.ceph.com/issues/62545 Signed-off-by: teng jie --- src/tools/cephfs/shell/cephfs-shell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/cephfs/shell/cephfs-shell b/src/tools/cephfs/shell/cephfs-shell index 60ad79c6126..96a606f24d4 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) -- 2.47.3