| To: | linux-fsdevel@xxxxxxxxxxxxxxx, David Chinner <dgc@xxxxxxx>, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, hch@xxxxxxxxxxxxx, Anton Altaparmakov <aia21@xxxxxxxxx>, Mike Waychison <mikew@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [RFC] add FIEMAP ioctl to efficiently map file allocation |
| From: | David Chinner <dgc@xxxxxxx> |
| Date: | Tue, 30 Oct 2007 09:25:33 +1100 |
| In-reply-to: | <20071029194507.GA8578@xxxxxxxxxxxxxxxxxx> |
| References: | <20070412110550.GM5967@xxxxxxxxxxxxxxxxxxxx> <20070416112252.GJ48531920@xxxxxxxxxxxxxxxxx> <20070419002139.GK5967@xxxxxxxxxxxxxxxxxxxx> <20070419015426.GM48531920@xxxxxxxxxxxxxxxxx> <20070430224401.GX5967@xxxxxxxxxxxxxxxxxxxx> <20070501042254.GD77450368@xxxxxxxxxxxxxxxxx> <1FA8E92B-954D-4624-A089-80D4AA7399FD@xxxxxxxxx> <20070502000654.GK77450368@xxxxxxxxxxxxxxxxx> <8464EA47-03AC-4162-A2D0-683517568640@xxxxxxxxx> <20071029194507.GA8578@xxxxxxxxxxxxxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.2.1i |
On Mon, Oct 29, 2007 at 01:45:07PM -0600, Andreas Dilger wrote: > By request on #linuxfs, here is the FIEMAP spec that we used to implement > the FIEMAP support for ext4. There was an ext4 patch posted on August 29 > to linux-ext4 entitled "[PATCH] FIEMAP ioctl". Link: http://marc.info/?l=linux-ext4&m=118838241209683&w=2 That's a very ext4 specific ioctl interface. Can we get this made generic like the FIBMAP interface so we don't have to replicate all the copyin/copyout handling and interface definitions everywhere? i.e. a ->extent_map aops callout to the filesystem in generic code just like ->bmap? > I've asked Kalpak to post > an updated version of that patch along with the changes to the "filefrag" > tool to use FIEMAP. Where can I find the test program that validates the implementation? Also, following the fallocate model, can we get the interface definition turned into a man page before anything is submitted upstream? Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [RFC] add FIEMAP ioctl to efficiently map file allocation, Mark Fasheh |
|---|---|
| Next by Date: | Re: [RFC] add FIEMAP ioctl to efficiently map file allocation, Andreas Dilger |
| Previous by Thread: | Re: [RFC] add FIEMAP ioctl to efficiently map file allocation, Andreas Dilger |
| Next by Thread: | [PATCH] Clean up sparse warnings, David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |