Skip to contentSkip to conversation

block: remove outdated part of blkdev_issue_flush() comment

PATCH In review Eric Biggers 1 participant 2 messages Jan 23, 2017 – Mar 24, 2017 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: remove outdated part of blkdev_issue_flush() comment

From: Eric Biggers <[email protected]>

blkdev_issue_flush() is now always synchronous, and it no longer has a flags argument. So remove the part of the comment about the WAIT flag.

---
 block/blk-flush.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
block/blk-flush.c +1 -2
index 20b7c7a02f1c..3c0ab7361e46 100644
@@ -490,8 +490,7 @@ void blk_insert_flush(struct request *rq)
  * Description:
  *    Issue a flush for the block device in question. Caller can supply
  *    room for storing the error offset in case of a flush error, if they
- *    wish to. If WAIT flag is not passed then caller may check only what
- *    request was pushed in some internal queue for later handling.
+ *    wish to.
  */
 int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask,
 		sector_t *error_sector)
Signature · 1 line
2.11.0.483.g087da7b7c-goog
#1 lore raw
Quoted 27 lines · Eric Biggers

From: Eric Biggers <[email protected]>

blkdev_issue_flush() is now always synchronous, and it no longer has a flags argument. So remove the part of the comment about the WAIT flag.

---
 block/blk-flush.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
block/blk-flush.c +1 -2
index 20b7c7a02f1c..3c0ab7361e46 100644
@@ -490,8 +490,7 @@ void blk_insert_flush(struct request *rq)
  * Description:
  *    Issue a flush for the block device in question. Caller can supply
  *    room for storing the error offset in case of a flush error, if they
- *    wish to. If WAIT flag is not passed then caller may check only what
- *    request was pushed in some internal queue for later handling.
+ *    wish to.
  */
 int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask,
 		sector_t *error_sector)
Signature · 1 line
2.11.0.483.g087da7b7c-goog

Ping?