From: Tejun Heo Date: Tue, 19 Feb 2008 10:36:53 +0000 (+0100) Subject: block: implement request_queue->dma_drain_needed X-Git-Tag: v2.6.25-rc3~122^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fb98e8414c42cb14698833aac640b143b9ade4f;p=pandora-kernel.git block: implement request_queue->dma_drain_needed Draining shouldn't be done for commands where overflow may indicate data integrity issues. Add dma_drain_needed callback to request_queue. Drain buffer is appened iff this function returns non-zero. Signed-off-by: Tejun Heo Cc: James Bottomley Signed-off-by: Jens Axboe --- Reading git-diff-tree failed