diff options
Diffstat (limited to 'Documentation/filesystems')
| -rw-r--r-- | Documentation/filesystems/Locking | 8 | ||||
| -rw-r--r-- | Documentation/filesystems/proc.txt | 10 |
2 files changed, 6 insertions, 12 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking index a934baeeb33a..1045da582b9b 100644 --- a/Documentation/filesystems/Locking +++ b/Documentation/filesystems/Locking | |||
| @@ -219,8 +219,12 @@ This may also be done to avoid internal deadlocks, but rarely. | |||
| 219 | If the filesytem is called for sync then it must wait on any | 219 | If the filesytem is called for sync then it must wait on any |
| 220 | in-progress I/O and then start new I/O. | 220 | in-progress I/O and then start new I/O. |
| 221 | 221 | ||
| 222 | The filesystem should unlock the page synchronously, before returning | 222 | The filesystem should unlock the page synchronously, before returning to the |
| 223 | to the caller. | 223 | caller, unless ->writepage() returns special WRITEPAGE_ACTIVATE |
| 224 | value. WRITEPAGE_ACTIVATE means that page cannot really be written out | ||
| 225 | currently, and VM should stop calling ->writepage() on this page for some | ||
| 226 | time. VM does this by moving page to the head of the active list, hence the | ||
| 227 | name. | ||
| 224 | 228 | ||
| 225 | Unless the filesystem is going to redirty_page_for_writepage(), unlock the page | 229 | Unless the filesystem is going to redirty_page_for_writepage(), unlock the page |
| 226 | and return zero, writepage *must* run set_page_writeback() against the page, | 230 | and return zero, writepage *must* run set_page_writeback() against the page, |
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index cbe85c17176b..6c98f2bd421e 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
| @@ -909,16 +909,6 @@ nr_free_inodes | |||
| 909 | Represents the number of free inodes. Ie. The number of inuse inodes is | 909 | Represents the number of free inodes. Ie. The number of inuse inodes is |
| 910 | (nr_inodes - nr_free_inodes). | 910 | (nr_inodes - nr_free_inodes). |
| 911 | 911 | ||
| 912 | super-nr and super-max | ||
| 913 | ---------------------- | ||
| 914 | |||
| 915 | Again, super block structures are allocated by the kernel, but not freed. The | ||
| 916 | file super-max contains the maximum number of super block handlers, where | ||
| 917 | super-nr shows the number of currently allocated ones. | ||
| 918 | |||
| 919 | Every mounted file system needs a super block, so if you plan to mount lots of | ||
| 920 | file systems, you may want to increase these numbers. | ||
| 921 | |||
| 922 | aio-nr and aio-max-nr | 912 | aio-nr and aio-max-nr |
| 923 | --------------------- | 913 | --------------------- |
| 924 | 914 | ||
