On Nov 26, 2008 15:59 +0000, Eric Barton wrote:> Question for the HSM team.
>
> Do we need to make the allocation map of a lustre file available
> to the HSM agent so it can avoid copying all the holes in sparse
> files?
There is already an ioctl for this supported by Lustre and ldiskfs
that will allow dumping the extent maps if the HSM so chooses. This
ioctl is also supported in the upstream Linux kernels, so it will
be possible to have generic tools take advantage of it as well.
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.