diff options
| author | Hugh Dickins <hugh@veritas.com> | 2006-02-24 16:04:26 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-24 17:31:39 -0500 |
| commit | ad329b1519c0091806046b0e49ab073ea590dc11 (patch) | |
| tree | 37ba48803043629e4c10b03bd448da02faaefa9f /Documentation/filesystems | |
| parent | 63d94e482df769f31e8b1097f06c3a3fba7bced4 (diff) | |
[PATCH] tmpfs: recommend remount for mpol
akpm points out that switching to a non-NUMA kernel could be irritating
if mounting tmpfs fails on an mpol option: tmpfs.txt recommend remount.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/filesystems')
| -rw-r--r-- | Documentation/filesystems/tmpfs.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/filesystems/tmpfs.txt b/Documentation/filesystems/tmpfs.txt index 8a155418c705..1773106976a2 100644 --- a/Documentation/filesystems/tmpfs.txt +++ b/Documentation/filesystems/tmpfs.txt | |||
| @@ -92,6 +92,15 @@ NodeList format is a comma-separated list of decimal numbers and ranges, | |||
| 92 | a range being two hyphen-separated decimal numbers, the smallest and | 92 | a range being two hyphen-separated decimal numbers, the smallest and |
| 93 | largest node numbers in the range. For example, mpol=bind:0-3,5,7,9-15 | 93 | largest node numbers in the range. For example, mpol=bind:0-3,5,7,9-15 |
| 94 | 94 | ||
| 95 | Note that trying to mount a tmpfs with an mpol option will fail if the | ||
| 96 | running kernel does not support NUMA; and will fail if its nodelist | ||
| 97 | specifies a node >= MAX_NUMNODES. If your system relies on that tmpfs | ||
| 98 | being mounted, but from time to time runs a kernel built without NUMA | ||
| 99 | capability (perhaps a safe recovery kernel), or configured to support | ||
| 100 | fewer nodes, then it is advisable to omit the mpol option from automatic | ||
| 101 | mount options. It can be added later, when the tmpfs is already mounted | ||
| 102 | on MountPoint, by 'mount -o remount,mpol=Policy:NodeList MountPoint'. | ||
| 103 | |||
| 95 | 104 | ||
| 96 | To specify the initial root directory you can use the following mount | 105 | To specify the initial root directory you can use the following mount |
| 97 | options: | 106 | options: |
