Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 629
b: refs/heads/master
c: 2054606
h: refs/heads/master
i:
  627: e2a1300
v: v3
  • Loading branch information
Nikita Danilov authored and Linus Torvalds committed May 1, 2005
1 parent dad269a commit 2ab14f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bd53b714d32a29bdf33009f812e295667e92b930
refs/heads/master: 2054606ad6dd6fee559fe790f190b15ed9355237
8 changes: 6 additions & 2 deletions trunk/Documentation/filesystems/Locking
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,12 @@ This may also be done to avoid internal deadlocks, but rarely.
If the filesytem is called for sync then it must wait on any
in-progress I/O and then start new I/O.

The filesystem should unlock the page synchronously, before returning
to the caller.
The filesystem should unlock the page synchronously, before returning to the
caller, unless ->writepage() returns special WRITEPAGE_ACTIVATE
value. WRITEPAGE_ACTIVATE means that page cannot really be written out
currently, and VM should stop calling ->writepage() on this page for some
time. VM does this by moving page to the head of the active list, hence the
name.

Unless the filesystem is going to redirty_page_for_writepage(), unlock the page
and return zero, writepage *must* run set_page_writeback() against the page,
Expand Down

0 comments on commit 2ab14f6

Please sign in to comment.