Messages in this thread | | | Date | Wed, 20 Aug 2003 12:53:01 -0700 | From | Andrew Morton <> | Subject | Re: posix_fallocate question again |
| |
"Chen, Kenneth W" <kenneth.w.chen@intel.com> wrote: > > This has been brought up by Ulrich more than 3 years ago: > http://marc.theaimsgroup.com/?l=linux-kernel&m=95569775802945&w=2
A decent fallocate() implementation requires that the underlying fs has a permanent representation of blocks which are in an "allocated, uninitialised" state. afaik XFS is the only such filesystem.
It's a fair bit of work for what doesn't really sound a very useful feature. Doing it in libc is reasonable. Probably the libc implementation could be improved by using ioctl(FIBMAP) and O_DIRECT to mimimise IO and CPU utilisation.
> Is there anytime soon that kernel 2.6 will have such functionality?
Nope.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |