summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_page.h
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@primarydata.com>2014-05-15 11:56:41 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-05-29 11:11:42 -0400
commit12c05792599ec57ebab33096b2c75b863dfe6ea4 (patch)
tree7712af8d02f5b222fdeb4740513158bb39978089 /include/linux/nfs_page.h
parentd201c4de518c1d617aa216664869fa329d562d7d (diff)
downloadlinux-stable-12c05792599ec57ebab33096b2c75b863dfe6ea4.tar.gz
linux-stable-12c05792599ec57ebab33096b2c75b863dfe6ea4.tar.bz2
linux-stable-12c05792599ec57ebab33096b2c75b863dfe6ea4.zip
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>
Diffstat (limited to 'include/linux/nfs_page.h')
-rw-r--r--include/linux/nfs_page.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h
index c6a587f7118f..eb2eb6396874 100644
--- a/include/linux/nfs_page.h
+++ b/include/linux/nfs_page.h
@@ -22,12 +22,10 @@
* 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;