kernel-fxtec-pro1x/Documentation/filesystems
Hugh Dickins 0edd73b334 [PATCH] shmem: restore superblock info
To improve shmem scalability, we allowed tmpfs instances which don't need
their blocks or inodes limited not to count them, and not to allocate any
sbinfo.  Which was okay when the only use for the sbinfo was accounting
blocks and inodes; but since then a couple of unrelated projects extending
tmpfs want to store other data in the sbinfo.  Whether either extension
reaches mainline is beside the point: I'm guilty of a bad design decision,
and should restore sbinfo to make any such future extensions easier.

So, once again allocate a shmem_sb_info for every shmem/tmpfs instance, and
now let max_blocks 0 indicate unlimited blocks, and max_inodes 0 unlimited
inodes.  Brent Casavant verified (many months ago) that this does not
perceptibly impact the scalability (since the unlimited sbinfo cacheline is
repeatedly accessed but only once dirtied).

And merge shmem_set_size into its sole caller shmem_remount_fs.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-21 18:46:18 -07:00
..
devfs Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
00-INDEX Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
affs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
afs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
automount-support.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
befs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cifs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
coda.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cramfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
directory-locking Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Exporting Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ext2.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ext3.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isofs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Locking [PATCH] doc: Locking update 2005-05-01 08:58:37 -07:00
ncpfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ntfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
porting Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc.txt [PATCH] Documentation: remove super-{nr, max} to reflect fs/super.c 2005-05-01 08:59:28 -07:00
romfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smbfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysfs-pci.txt [PATCH] Driver Core: remove driver model detach_state 2005-05-17 14:54:55 -07:00
sysfs.txt [PATCH] Driver core: Documentation: update device attribute callbacks 2005-06-20 15:15:32 -07:00
sysv-fs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tmpfs.txt [PATCH] shmem: restore superblock info 2005-06-21 18:46:18 -07:00
udf.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ufs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vfat.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00