Whamcloud - gitweb
filefrag: Add support to use the FIEMAP ioctl
authorKalpak Shah <kalpak.shah@sun.com>
Sun, 3 May 2009 01:02:29 +0000 (21:02 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 3 May 2009 01:02:29 +0000 (21:02 -0400)
commite62847c5db56ebdab8446defd718ec42e6b48cac
treebfd9d04110c5240b0633c29986d7f6a1cac90b01
parent6d67ee305cdfff7131a4105551409d1603dba81d
filefrag: Add support to use the FIEMAP ioctl

The FIEMAP ioctl is more efficient and doesn't require root
privileges.  So if it is available, use it in preference to repeated
FIBMAP calls.

Signed-off-by: Kalpak Shah <kalpak.shah@sun.com>
Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/filefrag.8.in
misc/filefrag.c