lkml.org 
[lkml]   [2011]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] block/trivial: Remove barrier comment in blkdev_issue_zeroout.
Date
From: Tao Ma <boyu.mt@taobao.com>

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

Cc: Christoph Hellwig <hch@lst.de>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
---
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.6.3.GIT


\
 
 \ /
  Last update: 2011-01-31 03:49    [W:0.031 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site