commit | 2fb98e8414c42cb14698833aac640b143b9ade4f | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Tue Feb 19 11:36:53 2008 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Feb 19 11:36:53 2008 +0100 |
tree | ab241305b5ce3ea5ef3e76df7abe04b831cd9e34 | |
parent | 6b00769fe1502b4ad97bb327ef7ac971b208bfb5 [diff] |
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 <htejun@gmail.com> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>