linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block: remove outdated part of blkdev_issue_flush() comment
@ 2017-01-23 19:43 Eric Biggers
  2017-03-24 21:40 ` Eric Biggers
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2017-01-23 19:43 UTC (permalink / raw)
  To: linux-block; +Cc: Jens Axboe, Eric Biggers

From: Eric Biggers <ebiggers@google.com>

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.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 block/blk-flush.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/block/blk-flush.c b/block/blk-flush.c
index 20b7c7a02f1c..3c0ab7361e46 100644
--- a/block/blk-flush.c
+++ b/block/blk-flush.c
@@ -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)
-- 
2.11.0.483.g087da7b7c-goog

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block: remove outdated part of blkdev_issue_flush() comment
  2017-01-23 19:43 [PATCH] block: remove outdated part of blkdev_issue_flush() comment Eric Biggers
@ 2017-03-24 21:40 ` Eric Biggers
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Biggers @ 2017-03-24 21:40 UTC (permalink / raw)
  To: linux-block; +Cc: Jens Axboe, Eric Biggers

On Mon, Jan 23, 2017 at 11:43:21AM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> 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.
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>
> ---
>  block/blk-flush.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/block/blk-flush.c b/block/blk-flush.c
> index 20b7c7a02f1c..3c0ab7361e46 100644
> --- a/block/blk-flush.c
> +++ b/block/blk-flush.c
> @@ -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)
> -- 
> 2.11.0.483.g087da7b7c-goog
> 

Ping?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-24 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-23 19:43 [PATCH] block: remove outdated part of blkdev_issue_flush() comment Eric Biggers
2017-03-24 21:40 ` Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).