linux/fs/hpfs
Mikulas Patocka 2cbe5c76fc hpfs: remember free space
Previously, hpfs scanned all bitmaps each time the user asked for free
space using statfs.  This patch changes it so that hpfs scans the
bitmaps only once, remembes the free space and on next invocation of
statfs it returns the value instantly.

New versions of wine are hammering on the statfs syscall very heavily,
making some games unplayable when they're stored on hpfs, with load
times in minutes.

This should be backported to the stable kernels because it fixes
user-visible problem (excessive level load times in wine).

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-02-02 16:24:07 -08:00
..
alloc.c hpfs: remember free space 2014-02-02 16:24:07 -08:00
anode.c hpfs: convert to use leXX_add_cpu() 2012-10-06 03:05:08 +09:00
buffer.c hpfs: implement prefetch to improve performance 2013-07-04 11:22:46 -07:00
dentry.c Don't pass inode to ->d_hash() and ->d_compare() 2013-06-29 12:57:36 +04:00
dir.c [readdir] convert hpfs 2013-06-29 12:56:51 +04:00
dnode.c hpfs: convert to use leXX_add_cpu() 2012-10-06 03:05:08 +09:00
ea.c hpfs: get rid of bitfields in struct fnode 2012-05-29 23:28:37 -04:00
file.c truncate: drop 'oldsize' truncate_pagecache() parameter 2013-09-12 15:38:02 -07:00
hpfs_fn.h hpfs: remember free space 2014-02-02 16:24:07 -08:00
hpfs.h hpfs: assorted endianness annotations 2012-05-29 23:28:39 -04:00
inode.c Merge branch 'master' into for-next 2013-01-29 10:48:30 +01:00
Kconfig HPFS: Make HPFS compile on preempt and SMP 2011-05-09 09:04:23 -07:00
Makefile
map.c hpfs: implement prefetch to improve performance 2013-07-04 11:22:46 -07:00
name.c HPFS: Remove CR/LF conversion option 2011-05-09 09:04:23 -07:00
namei.c locks: break delegations on any attribute modification 2013-11-09 00:16:44 -05:00
super.c hpfs: remember free space 2014-02-02 16:24:07 -08:00