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" <gfar...@redhat.com> wrote:

    On Fri, Oct 14, 2016 at 1:11 PM, Heller, Chris <chel...@akamai.com> 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.

ceph-users mailing list

Reply via email to