fuse: update backing_dev_info congestion state
[deliverable/linux.git] / fs / fuse / fuse_i.h
index 68ae87cbafab556a8b3843681274f7ac911ceae8..9f4603beb9e835cd3ba328ee228c6723c66b1f8e 100644 (file)
 #define FUSE_MAX_PAGES_PER_REQ 32
 
 /** Maximum number of outstanding background requests */
-#define FUSE_MAX_BACKGROUND 10
+#define FUSE_MAX_BACKGROUND 12
+
+/** Congestion starts at 75% of maximum */
+#define FUSE_CONGESTION_THRESHOLD (FUSE_MAX_BACKGROUND * 75 / 100)
 
 /** It could be as large as PATH_MAX, but would that have any uses? */
 #define FUSE_NAME_MAX 1024
This page took 0.03696 seconds and 5 git commands to generate.