Skip to contentSkip to conversation

block: remove obsolete comments for blkdev_issue_zeroout.

PATCH In review Tao Ma 2 participants 2 messages Feb 11, 2011 Block layer

lore
Share & tools
lore

Tao Ma

author
#0 lore raw

PATCH 1/1 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]>
---
 block/blk-lib.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
block/blk-lib.c +0 -2
index 1a320d2..55da8bd 100644
@@ -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,
Signature · 1 line
1.7.1
#1 lore raw
Quoted 4 lines · Tao Ma

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.

Signature · 1 line
Jens Axboe