Just a thought, but since a directory tree is a first class item in cephfs, could the wire protocol be extended with an “recursive delete” operation, specifically for cases like this? On 10/14/16, 4:16 PM, "Gregory Farnum" <gfarnum@xxxxxxxxxx> wrote: On Fri, Oct 14, 2016 at 1:11 PM, Heller, Chris <cheller@xxxxxxxxxx> wrote: > Ok. Since I’m running through the Hadoop/ceph api, there is no syscall boundary so there is a simple place to improve the throughput here. Good to know, I’ll work on a patch… Ah yeah, if you're in whatever they call the recursive tree delete function you can unroll that loop a whole bunch. I forget where the boundary is so you may need to go play with the JNI code; not sure. -Greg _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com