nfs: clean up PG_* flags

Remove unused flags PG_NEED_COMMIT and PG_NEED_RESCHED.
Add comments describing how each flag is used.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
Weston Andros Adamson 2014-05-15 11:56:41 -04:00 committed by Trond Myklebust
parent d201c4de51
commit 12c0579259
1 changed files with 4 additions and 6 deletions

View File

@ -22,12 +22,10 @@
* Valid flags for a dirty buffer * Valid flags for a dirty buffer
*/ */
enum { enum {
PG_BUSY = 0, PG_BUSY = 0, /* nfs_{un}lock_request */
PG_MAPPED, PG_MAPPED, /* page private set for buffered io */
PG_CLEAN, PG_CLEAN, /* write succeeded */
PG_NEED_COMMIT, PG_COMMIT_TO_DS, /* used by pnfs layouts */
PG_NEED_RESCHED,
PG_COMMIT_TO_DS,
}; };
struct nfs_inode; struct nfs_inode;