From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: [PATCHSET block#for-2.6.31] block: fix fallouts from recent cleanups, take#2 Date: Tue, 19 May 2009 18:33:03 +0900 Message-ID: <1242725586-13142-1-git-send-email-tj@kernel.org> Return-path: Received: from hera.kernel.org ([140.211.167.34]:55120 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752771AbZESJfi (ORCPT ); Tue, 19 May 2009 05:35:38 -0400 Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: linux-ide@vger.kernel.org, jens.axboe@oracle.com, bharrosh@panasas.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, bzolnier@gmail.com, petkovbb@googlemail.com, zaitcev@ Hello, This is the second take of fix-fallouts patchset. The first one[L] was posted without header message. Changes from the last take are * ub change updated per Pete Zitcev's comment * resid_len init bug spotted by Boaz Harrosh fixed This patchset contains the following three patches. 0001-ub-use-__blk_end_request_all.patch 0002-block-set-rq-resid_len-to-blk_rq_bytes-on-issue.patch 0003-bio-always-copy-back-data-for-copied-kernel-request.patch 0001 updates ub to use __blk_end_request_all() and 0002 restores the original residue count behavior. 0003 makes sure kernel pc buffer is bounced back even on request failure as user pc ones do. This inconsistency was discovered during discussion over residue count semantics. This patchset contains the following changes. block/blk-core.c | 5 +++-- drivers/block/ub.c | 30 +++++++++++------------------- drivers/ide/ide-cd.c | 4 ++-- drivers/ide/ide-tape.c | 2 +- drivers/message/fusion/mptsas.c | 3 ++- drivers/scsi/libsas/sas_expander.c | 4 ++++ drivers/scsi/libsas/sas_host_smp.c | 3 --- drivers/scsi/mpt2sas/mpt2sas_transport.c | 4 ++-- fs/bio.c | 2 +- 9 files changed, 26 insertions(+), 31 deletions(-) Thanks. -- tejun [L] http://thread.gmane.org/gmane.linux.ide/40728