1
linux/Documentation/filesystems
Robin Holt 7339ff8302 [PATCH] Add tmpfs options for memory placement policies
Anything that writes into a tmpfs filesystem is liable to disproportionately
decrease the available memory on a particular node.  Since there's no telling
what sort of application (e.g.  dd/cp/cat) might be dropping large files
there, this lets the admin choose the appropriate default behavior for their
site's situation.

Introduce a tmpfs mount option which allows specifying a memory policy and
a second option to specify the nodelist for that policy.  With the default
policy, tmpfs will behave as it does today.  This patch adds support for
preferred, bind, and interleave policies.

The default policy will cause pages to be added to tmpfs files on the node
which is doing the writing.  Some jobs expect a single process to create
and manage the tmpfs files.  This results in a node which has a
significantly reduced number of free pages.

With this patch, the administrator can specify the policy and nodes for
that policy where they would prefer allocations.

This patch was originally written by Brent Casavant and Hugh Dickins.  I
added support for the bind and preferred policies and the mpol_nodelist
mount option.

Signed-off-by: Brent Casavant <bcasavan@sgi.com>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-14 18:27:07 -08:00
..
configfs [PATCH] configfs: User-driven configuration filesystem 2006-01-03 11:45:28 -08:00
devfs [PATCH] ksymoops related docs update 2005-11-07 07:53:54 -08:00
00-INDEX Merge http://oss.oracle.com/git/ocfs2 2006-01-05 20:43:11 -08:00
adfs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
affs.txt [PATCH] kernel Doc/ URL corrections 2005-11-22 09:14:30 -08: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
dentry-locking.txt [PATCH] VFS: split dentry locking documentation 2005-11-07 07:53:56 -08:00
directory-locking Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dlmfs.txt [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
Exporting Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ext2.txt [PATCH] kernel Doc/ URL corrections 2005-11-22 09:14:30 -08:00
ext3.txt [PATCH] ext3: fix documentation of online resizing 2006-01-11 18:42:10 -08:00
files.txt [PATCH] files: files locking doc 2005-09-09 13:57:55 -07:00
fuse.txt [PATCH] fuse: more flexible caching 2005-09-09 14:03:47 -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
inotify.txt [PATCH] inotify: documentation update 2005-07-15 09:54:51 -07:00
isofs.txt [PATCH] isofs: show hidden files, add granularity for assoc/hidden files flags 2005-06-21 19:07:38 -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 NTFS: The big ntfs write(2) rewrite has arrived. We now implement our own 2005-10-11 15:40:40 +01:00
ocfs2.txt [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
porting Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc.txt Documentation/filesystems/proc.txt: indentation fix 2006-01-10 00:20:30 +01:00
ramfs-rootfs-initramfs.txt [PATCH] update to the initramfs docs 2006-01-08 20:14:00 -08:00
relayfs.txt [PATCH] relayfs: Documentation cleanup, remove obsolete info 2006-01-08 20:13:51 -08: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
spufs.txt [PATCH] spufs: The SPU file system, base 2006-01-09 14:49:12 +11:00
sysfs-pci.txt [PATCH] PCI: document sysfs rom file interface 2006-01-09 12:13:19 -08:00
sysfs.txt [PATCH] Driver core: Documentation: use S_IRUSR | ... in stead of 0644 2005-09-05 16:03:12 -07:00
sysv-fs.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tmpfs.txt [PATCH] Add tmpfs options for memory placement policies 2006-01-14 18:27:07 -08: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
v9fs.txt [PATCH] v9fs: Documentation, Makefiles, Configuration 2005-09-09 13:57:56 -07:00
vfat.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vfs.txt Documentation/filesystems/vfs.txt: typo fix 2006-01-03 13:35:41 +01:00
xfs.txt [XFS] Update XFS documentation. 2005-11-03 13:46:43 +11:00
xip.txt [PATCH] xip: description 2005-06-24 00:06:42 -07:00