nfs: clean up PG_* flags
authorWeston Andros Adamson <dros@primarydata.com>
Thu, 15 May 2014 15:56:41 +0000 (11:56 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 29 May 2014 15:11:42 +0000 (11:11 -0400)
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>
include/linux/nfs_page.h

index c6a587f7118f03add9c06368a47f934175b2c014..eb2eb6396874175bcd5f9e9ee03ddddc0fe477a3 100644 (file)
  * Valid flags for a dirty buffer
  */
 enum {
-       PG_BUSY = 0,
-       PG_MAPPED,
-       PG_CLEAN,
-       PG_NEED_COMMIT,
-       PG_NEED_RESCHED,
-       PG_COMMIT_TO_DS,
+       PG_BUSY = 0,            /* nfs_{un}lock_request */
+       PG_MAPPED,              /* page private set for buffered io */
+       PG_CLEAN,               /* write succeeded */
+       PG_COMMIT_TO_DS,        /* used by pnfs layouts */
 };
 
 struct nfs_inode;