RADOS: Deleting all objects in a namespace

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

 



Soon, we'll probably be letting multiple CephFS filesystems use the
same data and metadata pools, where the filesystems are separated by
rados namespace.

When removing filesystems, in the interests of robustness and speed,
I'd like to be able to delete all objects in a namespace -- otherwise
we would have to rely on a "rm -rf" and then some new code to
explicitly enumerate and delete all metadata objects for that
filesystem.

I'm pondering whether this should just be a process that happens via
normal client interfaces (where mon/mgr would be the client), or
whether it would be feasible/desirable to implement something inside
the OSD.  Obviously the OSD ultimately has to do the same underlying
enumeration, but at least it doesn't have to thrash through the whole
request/response cycle for deleting each object individually -- might
enable it to throttle internally in the OSD based on how busy it knows
itself to be, rather than having the client apply some arbitrary "only
issue N deletions at once" type limit that might make the deletion
process unecessarily slow.

I have a feeling we must have talked about this at some point but my
memory is failing me...

John
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux