diff options
Diffstat (limited to 'Documentation/filesystems')
| -rw-r--r-- | Documentation/filesystems/9p.txt | 29 | ||||
| -rw-r--r-- | Documentation/filesystems/Locking | 4 | ||||
| -rw-r--r-- | Documentation/filesystems/configfs/configfs_example_explicit.c | 6 | ||||
| -rw-r--r-- | Documentation/filesystems/configfs/configfs_example_macros.c | 6 | ||||
| -rw-r--r-- | Documentation/filesystems/ext4.txt | 4 | ||||
| -rw-r--r-- | Documentation/filesystems/nfs/idmapper.txt | 4 | ||||
| -rw-r--r-- | Documentation/filesystems/ocfs2.txt | 8 | ||||
| -rw-r--r-- | Documentation/filesystems/proc.txt | 12 | ||||
| -rw-r--r-- | Documentation/filesystems/ubifs.txt | 26 | ||||
| -rw-r--r-- | Documentation/filesystems/vfs.txt | 2 | ||||
| -rw-r--r-- | Documentation/filesystems/xfs.txt | 6 |
11 files changed, 43 insertions, 64 deletions
diff --git a/Documentation/filesystems/9p.txt b/Documentation/filesystems/9p.txt index b22abba78fed..13de64c7f0ab 100644 --- a/Documentation/filesystems/9p.txt +++ b/Documentation/filesystems/9p.txt | |||
| @@ -25,6 +25,8 @@ Other applications are described in the following papers: | |||
| 25 | http://xcpu.org/papers/cellfs-talk.pdf | 25 | http://xcpu.org/papers/cellfs-talk.pdf |
| 26 | * PROSE I/O: Using 9p to enable Application Partitions | 26 | * PROSE I/O: Using 9p to enable Application Partitions |
| 27 | http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdf | 27 | http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdf |
| 28 | * VirtFS: A Virtualization Aware File System pass-through | ||
| 29 | http://goo.gl/3WPDg | ||
| 28 | 30 | ||
| 29 | USAGE | 31 | USAGE |
| 30 | ===== | 32 | ===== |
| @@ -130,31 +132,20 @@ OPTIONS | |||
| 130 | RESOURCES | 132 | RESOURCES |
| 131 | ========= | 133 | ========= |
| 132 | 134 | ||
| 133 | Our current recommendation is to use Inferno (http://www.vitanuova.com/nferno/index.html) | 135 | Protocol specifications are maintained on github: |
| 134 | as the 9p server. You can start a 9p server under Inferno by issuing the | 136 | http://ericvh.github.com/9p-rfc/ |
| 135 | following command: | ||
| 136 | ; styxlisten -A tcp!*!564 export '#U*' | ||
| 137 | 137 | ||
| 138 | The -A specifies an unauthenticated export. The 564 is the port # (you may | 138 | 9p client and server implementations are listed on |
| 139 | have to choose a higher port number if running as a normal user). The '#U*' | 139 | http://9p.cat-v.org/implementations |
| 140 | specifies exporting the root of the Linux name space. You may specify a | ||
| 141 | subset of the namespace by extending the path: '#U*'/tmp would just export | ||
| 142 | /tmp. For more information, see the Inferno manual pages covering styxlisten | ||
| 143 | and export. | ||
| 144 | 140 | ||
| 145 | A Linux version of the 9p server is now maintained under the npfs project | 141 | A 9p2000.L server is being developed by LLNL and can be found |
| 146 | on sourceforge (http://sourceforge.net/projects/npfs). The currently | 142 | at http://code.google.com/p/diod/ |
| 147 | maintained version is the single-threaded version of the server (named spfs) | ||
| 148 | available from the same SVN repository. | ||
| 149 | 143 | ||
| 150 | There are user and developer mailing lists available through the v9fs project | 144 | There are user and developer mailing lists available through the v9fs project |
| 151 | on sourceforge (http://sourceforge.net/projects/v9fs). | 145 | on sourceforge (http://sourceforge.net/projects/v9fs). |
| 152 | 146 | ||
| 153 | A stand-alone version of the module (which should build for any 2.6 kernel) | 147 | News and other information is maintained on a Wiki. |
| 154 | is available via (http://github.com/ericvh/9p-sac/tree/master) | 148 | (http://sf.net/apps/mediawiki/v9fs/index.php). |
| 155 | |||
| 156 | News and other information is maintained on SWiK (http://swik.net/v9fs) | ||
| 157 | and the Wiki (http://sf.net/apps/mediawiki/v9fs/index.php). | ||
| 158 | 149 | ||
| 159 | Bug reports may be issued through the kernel.org bugzilla | 150 | Bug reports may be issued through the kernel.org bugzilla |
| 160 | (http://bugzilla.kernel.org) | 151 | (http://bugzilla.kernel.org) |
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking index 61b31acb9176..57d827d6071d 100644 --- a/Documentation/filesystems/Locking +++ b/Documentation/filesystems/Locking | |||
| @@ -104,7 +104,7 @@ of the locking scheme for directory operations. | |||
| 104 | prototypes: | 104 | prototypes: |
| 105 | struct inode *(*alloc_inode)(struct super_block *sb); | 105 | struct inode *(*alloc_inode)(struct super_block *sb); |
| 106 | void (*destroy_inode)(struct inode *); | 106 | void (*destroy_inode)(struct inode *); |
| 107 | void (*dirty_inode) (struct inode *); | 107 | void (*dirty_inode) (struct inode *, int flags); |
| 108 | int (*write_inode) (struct inode *, struct writeback_control *wbc); | 108 | int (*write_inode) (struct inode *, struct writeback_control *wbc); |
| 109 | int (*drop_inode) (struct inode *); | 109 | int (*drop_inode) (struct inode *); |
| 110 | void (*evict_inode) (struct inode *); | 110 | void (*evict_inode) (struct inode *); |
| @@ -126,7 +126,7 @@ locking rules: | |||
| 126 | s_umount | 126 | s_umount |
| 127 | alloc_inode: | 127 | alloc_inode: |
| 128 | destroy_inode: | 128 | destroy_inode: |
| 129 | dirty_inode: (must not sleep) | 129 | dirty_inode: |
| 130 | write_inode: | 130 | write_inode: |
| 131 | drop_inode: !!!inode->i_lock!!! | 131 | drop_inode: !!!inode->i_lock!!! |
| 132 | evict_inode: | 132 | evict_inode: |
diff --git a/Documentation/filesystems/configfs/configfs_example_explicit.c b/Documentation/filesystems/configfs/configfs_example_explicit.c index fd53869f5633..1420233dfa55 100644 --- a/Documentation/filesystems/configfs/configfs_example_explicit.c +++ b/Documentation/filesystems/configfs/configfs_example_explicit.c | |||
| @@ -464,9 +464,8 @@ static int __init configfs_example_init(void) | |||
| 464 | return 0; | 464 | return 0; |
| 465 | 465 | ||
| 466 | out_unregister: | 466 | out_unregister: |
| 467 | for (; i >= 0; i--) { | 467 | for (i--; i >= 0; i--) |
| 468 | configfs_unregister_subsystem(example_subsys[i]); | 468 | configfs_unregister_subsystem(example_subsys[i]); |
| 469 | } | ||
| 470 | 469 | ||
| 471 | return ret; | 470 | return ret; |
| 472 | } | 471 | } |
| @@ -475,9 +474,8 @@ static void __exit configfs_example_exit(void) | |||
| 475 | { | 474 | { |
| 476 | int i; | 475 | int i; |
| 477 | 476 | ||
| 478 | for (i = 0; example_subsys[i]; i++) { | 477 | for (i = 0; example_subsys[i]; i++) |
| 479 | configfs_unregister_subsystem(example_subsys[i]); | 478 | configfs_unregister_subsystem(example_subsys[i]); |
| 480 | } | ||
| 481 | } | 479 | } |
| 482 | 480 | ||
| 483 | module_init(configfs_example_init); | 481 | module_init(configfs_example_init); |
diff --git a/Documentation/filesystems/configfs/configfs_example_macros.c b/Documentation/filesystems/configfs/configfs_example_macros.c index d8e30a0378aa..327dfbc640a9 100644 --- a/Documentation/filesystems/configfs/configfs_example_macros.c +++ b/Documentation/filesystems/configfs/configfs_example_macros.c | |||
| @@ -427,9 +427,8 @@ static int __init configfs_example_init(void) | |||
| 427 | return 0; | 427 | return 0; |
| 428 | 428 | ||
| 429 | out_unregister: | 429 | out_unregister: |
| 430 | for (; i >= 0; i--) { | 430 | for (i--; i >= 0; i--) |
| 431 | configfs_unregister_subsystem(example_subsys[i]); | 431 | configfs_unregister_subsystem(example_subsys[i]); |
| 432 | } | ||
| 433 | 432 | ||
| 434 | return ret; | 433 | return ret; |
| 435 | } | 434 | } |
| @@ -438,9 +437,8 @@ static void __exit configfs_example_exit(void) | |||
| 438 | { | 437 | { |
| 439 | int i; | 438 | int i; |
| 440 | 439 | ||
| 441 | for (i = 0; example_subsys[i]; i++) { | 440 | for (i = 0; example_subsys[i]; i++) |
| 442 | configfs_unregister_subsystem(example_subsys[i]); | 441 | configfs_unregister_subsystem(example_subsys[i]); |
| 443 | } | ||
| 444 | } | 442 | } |
| 445 | 443 | ||
| 446 | module_init(configfs_example_init); | 444 | module_init(configfs_example_init); |
diff --git a/Documentation/filesystems/ext4.txt b/Documentation/filesystems/ext4.txt index c79ec58fd7f6..3ae9bc94352a 100644 --- a/Documentation/filesystems/ext4.txt +++ b/Documentation/filesystems/ext4.txt | |||
| @@ -226,10 +226,6 @@ acl Enables POSIX Access Control Lists support. | |||
| 226 | noacl This option disables POSIX Access Control List | 226 | noacl This option disables POSIX Access Control List |
| 227 | support. | 227 | support. |
| 228 | 228 | ||
| 229 | reservation | ||
| 230 | |||
| 231 | noreservation | ||
| 232 | |||
| 233 | bsddf (*) Make 'df' act like BSD. | 229 | bsddf (*) Make 'df' act like BSD. |
| 234 | minixdf Make 'df' act like Minix. | 230 | minixdf Make 'df' act like Minix. |
| 235 | 231 | ||
diff --git a/Documentation/filesystems/nfs/idmapper.txt b/Documentation/filesystems/nfs/idmapper.txt index b9b4192ea8b5..9c8fd6148656 100644 --- a/Documentation/filesystems/nfs/idmapper.txt +++ b/Documentation/filesystems/nfs/idmapper.txt | |||
| @@ -47,8 +47,8 @@ request-key will find the first matching line and corresponding program. In | |||
| 47 | this case, /some/other/program will handle all uid lookups and | 47 | this case, /some/other/program will handle all uid lookups and |
| 48 | /usr/sbin/nfs.idmap will handle gid, user, and group lookups. | 48 | /usr/sbin/nfs.idmap will handle gid, user, and group lookups. |
| 49 | 49 | ||
| 50 | See <file:Documentation/keys-request-keys.txt> for more information about the | 50 | See <file:Documentation/security/keys-request-keys.txt> for more information |
| 51 | request-key function. | 51 | about the request-key function. |
| 52 | 52 | ||
| 53 | 53 | ||
| 54 | ========= | 54 | ========= |
diff --git a/Documentation/filesystems/ocfs2.txt b/Documentation/filesystems/ocfs2.txt index 9ed920a8cd79..7618a287aa41 100644 --- a/Documentation/filesystems/ocfs2.txt +++ b/Documentation/filesystems/ocfs2.txt | |||
| @@ -46,9 +46,15 @@ errors=panic Panic and halt the machine if an error occurs. | |||
| 46 | intr (*) Allow signals to interrupt cluster operations. | 46 | intr (*) Allow signals to interrupt cluster operations. |
| 47 | nointr Do not allow signals to interrupt cluster | 47 | nointr Do not allow signals to interrupt cluster |
| 48 | operations. | 48 | operations. |
| 49 | noatime Do not update access time. | ||
| 50 | relatime(*) Update atime if the previous atime is older than | ||
| 51 | mtime or ctime | ||
| 52 | strictatime Always update atime, but the minimum update interval | ||
| 53 | is specified by atime_quantum. | ||
| 49 | atime_quantum=60(*) OCFS2 will not update atime unless this number | 54 | atime_quantum=60(*) OCFS2 will not update atime unless this number |
| 50 | of seconds has passed since the last update. | 55 | of seconds has passed since the last update. |
| 51 | Set to zero to always update atime. | 56 | Set to zero to always update atime. This option need |
| 57 | work with strictatime. | ||
| 52 | data=ordered (*) All data are forced directly out to the main file | 58 | data=ordered (*) All data are forced directly out to the main file |
| 53 | system prior to its metadata being committed to the | 59 | system prior to its metadata being committed to the |
| 54 | journal. | 60 | journal. |
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index b0b814d75ca1..f48178024067 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
| @@ -574,6 +574,12 @@ The contents of each smp_affinity file is the same by default: | |||
| 574 | > cat /proc/irq/0/smp_affinity | 574 | > cat /proc/irq/0/smp_affinity |
| 575 | ffffffff | 575 | ffffffff |
| 576 | 576 | ||
| 577 | There is an alternate interface, smp_affinity_list which allows specifying | ||
| 578 | a cpu range instead of a bitmask: | ||
| 579 | |||
| 580 | > cat /proc/irq/0/smp_affinity_list | ||
| 581 | 1024-1031 | ||
| 582 | |||
| 577 | The default_smp_affinity mask applies to all non-active IRQs, which are the | 583 | The default_smp_affinity mask applies to all non-active IRQs, which are the |
| 578 | IRQs which have not yet been allocated/activated, and hence which lack a | 584 | IRQs which have not yet been allocated/activated, and hence which lack a |
| 579 | /proc/irq/[0-9]* directory. | 585 | /proc/irq/[0-9]* directory. |
| @@ -583,12 +589,13 @@ reports itself as being attached. This hardware locality information does not | |||
| 583 | include information about any possible driver locality preference. | 589 | include information about any possible driver locality preference. |
| 584 | 590 | ||
| 585 | prof_cpu_mask specifies which CPUs are to be profiled by the system wide | 591 | prof_cpu_mask specifies which CPUs are to be profiled by the system wide |
| 586 | profiler. Default value is ffffffff (all cpus). | 592 | profiler. Default value is ffffffff (all cpus if there are only 32 of them). |
| 587 | 593 | ||
| 588 | The way IRQs are routed is handled by the IO-APIC, and it's Round Robin | 594 | The way IRQs are routed is handled by the IO-APIC, and it's Round Robin |
| 589 | between all the CPUs which are allowed to handle it. As usual the kernel has | 595 | between all the CPUs which are allowed to handle it. As usual the kernel has |
| 590 | more info than you and does a better job than you, so the defaults are the | 596 | more info than you and does a better job than you, so the defaults are the |
| 591 | best choice for almost everyone. | 597 | best choice for almost everyone. [Note this applies only to those IO-APIC's |
| 598 | that support "Round Robin" interrupt distribution.] | ||
| 592 | 599 | ||
| 593 | There are three more important subdirectories in /proc: net, scsi, and sys. | 600 | There are three more important subdirectories in /proc: net, scsi, and sys. |
| 594 | The general rule is that the contents, or even the existence of these | 601 | The general rule is that the contents, or even the existence of these |
| @@ -836,7 +843,6 @@ Provides counts of softirq handlers serviced since boot time, for each cpu. | |||
| 836 | TASKLET: 0 0 0 290 | 843 | TASKLET: 0 0 0 290 |
| 837 | SCHED: 27035 26983 26971 26746 | 844 | SCHED: 27035 26983 26971 26746 |
| 838 | HRTIMER: 0 0 0 0 | 845 | HRTIMER: 0 0 0 0 |
| 839 | RCU: 1678 1769 2178 2250 | ||
| 840 | 846 | ||
| 841 | 847 | ||
| 842 | 1.3 IDE devices in /proc/ide | 848 | 1.3 IDE devices in /proc/ide |
diff --git a/Documentation/filesystems/ubifs.txt b/Documentation/filesystems/ubifs.txt index d7b13b01e980..8e4fab639d9c 100644 --- a/Documentation/filesystems/ubifs.txt +++ b/Documentation/filesystems/ubifs.txt | |||
| @@ -115,28 +115,8 @@ ubi.mtd=0 root=ubi0:rootfs rootfstype=ubifs | |||
| 115 | Module Parameters for Debugging | 115 | Module Parameters for Debugging |
| 116 | =============================== | 116 | =============================== |
| 117 | 117 | ||
| 118 | When UBIFS has been compiled with debugging enabled, there are 3 module | 118 | When UBIFS has been compiled with debugging enabled, there are 2 module |
| 119 | parameters that are available to control aspects of testing and debugging. | 119 | parameters that are available to control aspects of testing and debugging. |
| 120 | The parameters are unsigned integers where each bit controls an option. | ||
| 121 | The parameters are: | ||
| 122 | |||
| 123 | debug_msgs Selects which debug messages to display, as follows: | ||
| 124 | |||
| 125 | Message Type Flag value | ||
| 126 | |||
| 127 | General messages 1 | ||
| 128 | Journal messages 2 | ||
| 129 | Mount messages 4 | ||
| 130 | Commit messages 8 | ||
| 131 | LEB search messages 16 | ||
| 132 | Budgeting messages 32 | ||
| 133 | Garbage collection messages 64 | ||
| 134 | Tree Node Cache (TNC) messages 128 | ||
| 135 | LEB properties (lprops) messages 256 | ||
| 136 | Input/output messages 512 | ||
| 137 | Log messages 1024 | ||
| 138 | Scan messages 2048 | ||
| 139 | Recovery messages 4096 | ||
| 140 | 120 | ||
| 141 | debug_chks Selects extra checks that UBIFS can do while running: | 121 | debug_chks Selects extra checks that UBIFS can do while running: |
| 142 | 122 | ||
| @@ -154,11 +134,9 @@ debug_tsts Selects a mode of testing, as follows: | |||
| 154 | 134 | ||
| 155 | Test mode Flag value | 135 | Test mode Flag value |
| 156 | 136 | ||
| 157 | Force in-the-gaps method 2 | ||
| 158 | Failure mode for recovery testing 4 | 137 | Failure mode for recovery testing 4 |
| 159 | 138 | ||
| 160 | For example, set debug_msgs to 5 to display General messages and Mount | 139 | For example, set debug_chks to 3 to enable general and TNC checks. |
| 161 | messages. | ||
| 162 | 140 | ||
| 163 | 141 | ||
| 164 | References | 142 | References |
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index 21a7dc467bba..88b9f5519af9 100644 --- a/Documentation/filesystems/vfs.txt +++ b/Documentation/filesystems/vfs.txt | |||
| @@ -211,7 +211,7 @@ struct super_operations { | |||
| 211 | struct inode *(*alloc_inode)(struct super_block *sb); | 211 | struct inode *(*alloc_inode)(struct super_block *sb); |
| 212 | void (*destroy_inode)(struct inode *); | 212 | void (*destroy_inode)(struct inode *); |
| 213 | 213 | ||
| 214 | void (*dirty_inode) (struct inode *); | 214 | void (*dirty_inode) (struct inode *, int flags); |
| 215 | int (*write_inode) (struct inode *, int); | 215 | int (*write_inode) (struct inode *, int); |
| 216 | void (*drop_inode) (struct inode *); | 216 | void (*drop_inode) (struct inode *); |
| 217 | void (*delete_inode) (struct inode *); | 217 | void (*delete_inode) (struct inode *); |
diff --git a/Documentation/filesystems/xfs.txt b/Documentation/filesystems/xfs.txt index 7bff3e4f35df..3fc0c31a6f5d 100644 --- a/Documentation/filesystems/xfs.txt +++ b/Documentation/filesystems/xfs.txt | |||
| @@ -39,6 +39,12 @@ When mounting an XFS filesystem, the following options are accepted. | |||
| 39 | drive level write caching to be enabled, for devices that | 39 | drive level write caching to be enabled, for devices that |
| 40 | support write barriers. | 40 | support write barriers. |
| 41 | 41 | ||
| 42 | discard | ||
| 43 | Issue command to let the block device reclaim space freed by the | ||
| 44 | filesystem. This is useful for SSD devices, thinly provisioned | ||
| 45 | LUNs and virtual machine images, but may have a performance | ||
| 46 | impact. This option is incompatible with the nodelaylog option. | ||
| 47 | |||
| 42 | dmapi | 48 | dmapi |
| 43 | Enable the DMAPI (Data Management API) event callouts. | 49 | Enable the DMAPI (Data Management API) event callouts. |
| 44 | Use with the "mtpt" option. | 50 | Use with the "mtpt" option. |
