2011-02-11 14:43:38

by Tao Ma

[permalink] [raw]
Subject: [PATCH] block: remove obsolete comments for blkdev_issue_zeroout.

From: Tao Ma <[email protected]>

barrier is already removed, so remove the obsolete comments
in blkdev_issue_zeroout.

Cc: Jens Axboe <[email protected]>
Signed-off-by: Tao Ma <[email protected]>
---
block/blk-lib.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/block/blk-lib.c b/block/blk-lib.c
index 1a320d2..55da8bd 100644
--- a/block/blk-lib.c
+++ b/block/blk-lib.c
@@ -140,8 +140,6 @@ static void bio_batch_end_io(struct bio *bio, int err)
*
* Description:
* Generate and issue number of bios with zerofiled pages.
- * Send barrier at the beginning and at the end if requested. This guarantie
- * correct request ordering. Empty barrier allow us to avoid post queue flush.
*/

int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
--
1.7.1


2011-02-11 15:18:23

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] block: remove obsolete comments for blkdev_issue_zeroout.

On 2011-02-11 15:43, Tao Ma wrote:
> From: Tao Ma <[email protected]>
>
> barrier is already removed, so remove the obsolete comments
> in blkdev_issue_zeroout.

Thanks, I'll add this to the queue.

--
Jens Axboe