]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - block/blk.h
blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
[mirror_ubuntu-jammy-kernel.git] / block / blk.h
index 6c3c00a8fe19d3f4f926d3deb9f26d63577c6f3c..aab72194d2266fbe75fa416dfd9106894df4ab32 100644 (file)
@@ -184,6 +184,12 @@ bool blk_bio_list_merge(struct request_queue *q, struct list_head *list,
 void blk_account_io_start(struct request *req);
 void blk_account_io_done(struct request *req, u64 now);
 
+/*
+ * Plug flush limits
+ */
+#define BLK_MAX_REQUEST_COUNT  32
+#define BLK_PLUG_FLUSH_SIZE    (128 * 1024)
+
 /*
  * Internal elevator interface
  */