Skip to contentSkip to conversation

block/trivial: Remove barrier comment in blkdev_issue_zeroout.

PATCH New Tao Ma 1 participant 1 message Jan 31, 2011 Block layer

lore
Share & tools
lore

Tao Ma

author
#0 lore raw

PATCH 1/1 block/trivial: Remove barrier comment in blkdev_issue_zeroout.

From: Tao Ma <[email protected]>

barrier action is removed from blkdev_issue_zeroout, so remove the corresponding comment.

Cc Christoph Hellwig <[email protected]>
Cc Jiri Kosina <[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.6.3.GIT