Skip to contentSkip to conversation

sparse files

Lustre-devel Eric Barton 2 participants 2 messages Nov 26, 2008 – Nov 27, 2008

lore
Share & tools
lore
#0 lore raw

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?

Cheers,
Eric

#1 lore raw
Quoted 5 lines · Eric Barton

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.