Re: Controlling CephFS hard link "primary name" for recursive stat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/02/2019 18:52, Yan, Zheng wrote:
how about directly reading backtrace, something equivalent to:

rados -p cephfs1_data getxattr xxxxxxx.00000000 parent >/tmp/parent
ceph-dencoder import /tmp/parent type inode_backtrace_t decode dump_json

Where xxxxxxx is just the hex inode from stat(), right. (I only just realized this :-))

Are there Python bindings for what ceph-dencoder does, or at least a C API? I could shell out to ceph-dencoder but I imagine that won't be too great for performance.

--
Hector Martin (hector@xxxxxxxxxxxxxx)
Public Key: https://mrcn.st/pub
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux