b00dc3ad74
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> |
||
---|---|---|
.. | ||
configfs | ||
devfs | ||
00-INDEX | ||
adfs.txt | ||
affs.txt | ||
afs.txt | ||
automount-support.txt | ||
befs.txt | ||
bfs.txt | ||
cifs.txt | ||
coda.txt | ||
cramfs.txt | ||
dentry-locking.txt | ||
directory-locking | ||
dlmfs.txt | ||
Exporting | ||
ext2.txt | ||
ext3.txt | ||
files.txt | ||
fuse.txt | ||
hfs.txt | ||
hpfs.txt | ||
inotify.txt | ||
isofs.txt | ||
jfs.txt | ||
Locking | ||
ncpfs.txt | ||
ntfs.txt | ||
ocfs2.txt | ||
porting | ||
proc.txt | ||
ramfs-rootfs-initramfs.txt | ||
relayfs.txt | ||
romfs.txt | ||
smbfs.txt | ||
spufs.txt | ||
sysfs-pci.txt | ||
sysfs.txt | ||
sysv-fs.txt | ||
tmpfs.txt | ||
udf.txt | ||
ufs.txt | ||
v9fs.txt | ||
vfat.txt | ||
vfs.txt | ||
xfs.txt | ||
xip.txt |