kernel-ark/Documentation/filesystems
Hugh Dickins b00dc3ad74 [PATCH] tmpfs: fix mount mpol nodelist parsing
I've been dissatisfied with the mpol_nodelist mount option which was
added to tmpfs earlier in -rc.  Replace it by mpol=policy:nodelist.

And it was broken: a nodelist is a comma-separated list of numbers and
ranges; the mount options are a comma-separated list of token=values.
Whoops, blindly strsep'ing on commas doesn't work so well: since we've
no numeric tokens, and unlikely to add them, use that to distinguish.

Move the mpol= parsing to shmem_parse_mpol under CONFIG_NUMA, reject
all its options as invalid if not NUMA.  /proc shows MPOL_PREFERRED
as "prefer", so use that name for the policy instead of "preferred".

Enforce that mpol=default has no nodelist; that mpol=prefer has one
node only; that mpol=bind has a nodelist; but let mpol=interleave use
node_online_map if no nodelist given.  Describe this in tmpfs.txt.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Robin Holt <holt@sgi.com>
Acked-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-21 17:10:15 -08:00
..
configfs configfs: Add permission and ownership to configfs objects. 2006-02-03 14:01:05 -08:00
devfs
00-INDEX Merge http://oss.oracle.com/git/ocfs2 2006-01-05 20:43:11 -08:00
adfs.txt
affs.txt [PATCH] kernel Doc/ URL corrections 2005-11-22 09:14:30 -08:00
afs.txt
automount-support.txt
befs.txt
bfs.txt
cifs.txt
coda.txt
cramfs.txt
dentry-locking.txt
directory-locking
dlmfs.txt [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
Exporting
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
fuse.txt [PATCH] fuse: update documentation for sysfs 2006-01-16 23:15:31 -08:00
hfs.txt
hpfs.txt
inotify.txt
isofs.txt
jfs.txt
Locking
ncpfs.txt
ntfs.txt
ocfs2.txt [OCFS2] Documentation Fix 2006-02-03 13:47:19 -08:00
porting
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
smbfs.txt
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
sysv-fs.txt
tmpfs.txt [PATCH] tmpfs: fix mount mpol nodelist parsing 2006-02-21 17:10:15 -08:00
udf.txt
ufs.txt
v9fs.txt [PATCH] v9fs: update documentation and fix debug flag 2006-02-20 20:00:11 -08:00
vfat.txt
vfs.txt Documentation/filesystems/vfs.txt: typo fix 2006-01-03 13:35:41 +01:00
xfs.txt
xip.txt