kernel-ark/include
Amit Arora 97ac73506c sys_fallocate() implementation on i386, x86_64 and powerpc
fallocate() is a new system call being proposed here which will allow
applications to preallocate space to any file(s) in a file system.
Each file system implementation that wants to use this feature will need
to support an inode operation called ->fallocate().
Applications can use this feature to avoid fragmentation to certain
level and thus get faster access speed. With preallocation, applications
also get a guarantee of space for particular file(s) - even if later the
the system becomes full.

Currently, glibc provides an interface called posix_fallocate() which
can be used for similar cause. Though this has the advantage of working
on all file systems, but it is quite slow (since it writes zeroes to
each block that has to be preallocated). Without a doubt, file systems
can do this more efficiently within the kernel, by implementing
the proposed fallocate() system call. It is expected that
posix_fallocate() will be modified to call this new system call first
and incase the kernel/filesystem does not implement it, it should fall
back to the current implementation of writing zeroes to the new blocks.
ToDos:
1. Implementation on other architectures (other than i386, x86_64,
   and ppc). Patches for s390(x) and ia64 are already available from
   previous posts, but it was decided that they should be added later
   once fallocate is in the mainline. Hence not including those patches
   in this take.
2. Changes to glibc,
   a) to support fallocate() system call
   b) to make posix_fallocate() and posix_fallocate64() call fallocate()

Signed-off-by: Amit Arora <aarora@in.ibm.com>
2007-07-17 21:42:44 -04:00
..
acpi Pull osi-now into release branch 2007-06-02 01:02:09 -04:00
asm-alpha alpha termios.h hadn't been updated 2007-07-17 11:01:07 -07:00
asm-arm fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-arm26 fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-avr32 fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-blackfin fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-cris fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-frv fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-generic saner typechecking in generic unaligned.h 2007-07-17 11:01:07 -07:00
asm-h8300 fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-i386 sys_fallocate() implementation on i386, x86_64 and powerpc 2007-07-17 21:42:44 -04:00
asm-ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2007-07-17 11:31:57 -07:00
asm-m32r fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-m68k fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-m68knommu fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-mips fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-parisc fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-powerpc sys_fallocate() implementation on i386, x86_64 and powerpc 2007-07-17 21:42:44 -04:00
asm-ppc mm: remove ptep_test_and_clear_dirty and ptep_clear_flush_dirty 2007-07-17 10:22:59 -07:00
asm-s390 fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-sh fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-sh64 fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-sparc fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-sparc64 fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-um Add generic exit-time stack-depth checking to CONFIG_DEBUG_STACK_USAGE 2007-07-16 09:05:38 -07:00
asm-v850 fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
asm-x86_64 sys_fallocate() implementation on i386, x86_64 and powerpc 2007-07-17 21:42:44 -04:00
asm-xtensa fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
crypto
keys
linux sys_fallocate() implementation on i386, x86_64 and powerpc 2007-07-17 21:42:44 -04:00
math-emu
media
mtd
net avoid OPEN_MAX in SCM_MAX_FD 2007-07-17 10:23:03 -07:00
pcmcia PCMCIA-NETDEV : add new ID of lan&modem multifunction card 2007-07-08 22:16:39 -04:00
rdma IB/cm: Include HCA ACK delay in local ACK timeout 2007-07-10 21:50:05 -07:00
rxrpc
scsi [SCSI] Remove unused method scsi_device_cancel 2007-07-14 16:01:16 -05:00
sound [ALSA] version 1.0.14 2007-05-31 11:03:27 +02:00
video tgafb: actually allocate memory for the pseudo_palette 2007-07-17 10:23:12 -07:00
Kbuild