Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761363Ab2FVGaU (ORCPT ); Fri, 22 Jun 2012 02:30:20 -0400 Received: from mga14.intel.com ([143.182.124.37]:35889 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761348Ab2FVGaT (ORCPT ); Fri, 22 Jun 2012 02:30:19 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="159467287" Subject: [set5 PATCH 0/6] scsi, async: asynchronous probing rework / fixes To: linux-scsi@vger.kernel.org From: Dan Williams Cc: linux-kernel@vger.kernel.org Date: Thu, 21 Jun 2012 23:46:57 -0700 Message-ID: <20120622064657.21538.61711.stgit@dwillia2-linux.jf.intel.com> User-Agent: StGit/0.16-1-g7004 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2280 Lines: 53 Set5 of 5 patchsets to update scsi, libsas, and libata in support of the isci driver. Commit 43a8d39d "[SCSI] fix async probe regression" found that async_synchronize_full() was missing async work that was scheduled to its own domain. This led James to note: "My theory is that this is an init problem: The assumption in a lot of our code is that async_synchronize_full() waits for everything ... even the domain specific async schedules, which isn't true." ...and this set aims to make that assumption true, but also with the ability to opt-out for "private" async work. The other async probe fix is in the area of unplug events that occur in the scsi async scanning interval. Essentially scsi_remove_target() can now see semi-initialized scsi_targets that have yet to be added via device_add(). If there are no objections I'll put these in -next. But I expect at least patch1 and patch2 will need an ack from Arjan before the set shows up in scsi.git. --- Dan Williams (6): async: introduce 'async_domain' type async: make async_synchronize_full() flush all work regardless of domain scsi: queue async scan work to an async_schedule domain scsi: cleanup usages of scsi_complete_async_scans Revert "[SCSI] fix async probe regression" scsi: fix hot unplug vs async scan race drivers/regulator/core.c | 2 + drivers/scsi/libsas/sas_ata.c | 2 + drivers/scsi/scsi.c | 4 ++ drivers/scsi/scsi_priv.h | 3 +- drivers/scsi/scsi_scan.c | 34 ++++++------------ drivers/scsi/scsi_sysfs.c | 41 ++++++++++++++-------- drivers/scsi/scsi_wait_scan.c | 15 +++----- include/linux/async.h | 36 +++++++++++++++++-- include/scsi/scsi_scan.h | 11 ------ kernel/async.c | 76 +++++++++++++++++++++++++++++++---------- kernel/power/hibernate.c | 8 ---- kernel/power/user.c | 2 - 12 files changed, 138 insertions(+), 96 deletions(-) delete mode 100644 include/scsi/scsi_scan.h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/