FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 07-24-2010, 06:43 AM
Christoph Hellwig
 
Default block: update request stacking methods to support discards

> + if (blk_discard_rq(rq))
> + return 0;

The blk_discard_rq helper is gone in the block tree.

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 07-27-2010, 02:54 PM
Christoph Hellwig
 
Default block: update request stacking methods to support discards

On Sat, Jul 24, 2010 at 12:09:26PM -0400, Mike Snitzer wrote:
> Propagate REQ_DISCARD in cmd_flags when cloning a discard request.
> Skip blk_rq_check_limits's existing checks for discard requests because
> discard limits will have already been checked in blkdev_issue_discard.

Looks good,


Reviewed-by: Christoph Hellwig <hch@lst.de>

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 02:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org