1ENUM POSITIVE_AOP_RE(9)          The Linux VFS         ENUM POSITIVE_AOP_RE(9)
2
3
4

NAME

6       enum_positive_aop_returns - aop return codes with specific semantics
7

SYNOPSIS

9       enum positive_aop_returns {
10         AOP_WRITEPAGE_ACTIVATE,
11         AOP_TRUNCATED_PAGE
12       };
13

CONSTANTS

15       AOP_WRITEPAGE_ACTIVATE
16           Informs the caller that page writeback has completed, that the page
17           is still locked, and should be considered active. The VM uses this
18           hint to return the page to the active list -- it won't be a
19           candidate for writeback again in the near future. Other callers
20           must be careful to unlock the page if they get this return.
21           Returned by writepage;
22
23       AOP_TRUNCATED_PAGE
24           The AOP method that was handed a locked page has unlocked it and
25           the page might have been truncated. The caller should back up to
26           acquiring a new page and trying again. The aop will be taking
27           reasonable precautions not to livelock. If the caller held a page
28           reference, it should drop it before retrying. Returned by readpage.
29

DESCRIPTION

31       address_space_operation functions return these large constants to
32       indicate special semantics to the caller. These are much larger than
33       the bytes in a page to allow for functions that return the number of
34       bytes operated on in a given page.
35
37Kernel Hackers Manual 2.6.       November 2011         ENUM POSITIVE_AOP_RE(9)
Impressum