[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v11 06/13] block: modify the comment for BDRV_REQ_PREFETCH flag
From: |
Andrey Shinkevich |
Subject: |
[PATCH v11 06/13] block: modify the comment for BDRV_REQ_PREFETCH flag |
Date: |
Mon, 12 Oct 2020 20:43:18 +0300 |
Modify the comment for the flag BDRV_REQ_PREFETCH as we are going to
use it alone and pass it to the COR-filter driver for further
processing.
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
---
include/block/block.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/block/block.h b/include/block/block.h
index 981ab5b..2b7efd1 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -71,9 +71,10 @@ typedef enum {
BDRV_REQ_NO_FALLBACK = 0x100,
/*
- * BDRV_REQ_PREFETCH may be used only together with BDRV_REQ_COPY_ON_READ
- * on read request and means that caller doesn't really need data to be
- * written to qiov parameter which may be NULL.
+ * BDRV_REQ_PREFETCH may be used together with the BDRV_REQ_COPY_ON_READ
+ * flag or when the COR-filter applied to read operations and means that
+ * caller doesn't really need data to be written to qiov parameter which
+ * may be NULL.
*/
BDRV_REQ_PREFETCH = 0x200,
/* Mask of valid flags */
--
1.8.3.1
- Re: [PATCH v11 04/13] copy-on-read: pass overlay base node name to COR driver, (continued)
[PATCH v11 06/13] block: modify the comment for BDRV_REQ_PREFETCH flag,
Andrey Shinkevich <=
[PATCH v11 07/13] block: include supported_read_flags into BDS structure, Andrey Shinkevich, 2020/10/12
[PATCH v11 08/13] copy-on-read: add support for BDRV_REQ_PREFETCH to COR-filter, Andrey Shinkevich, 2020/10/12
[PATCH v11 09/13] copy-on-read: skip non-guest reads if no copy needed, Andrey Shinkevich, 2020/10/12