[SCSI] async: introduce 'async_domain' type
authorDan Williams <dan.j.williams@intel.com>
Tue, 10 Jul 2012 02:33:25 +0000 (19:33 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 08:05:54 +0000 (09:05 +0100)
commit2955b47d2c1983998a8c5915cb96884e67f7cb53
treee21ace685c01c698f20b7cb81b0097519c2fa18c
parent529f9a765509c2c141ecfee0c54e17bf9a6b8bc1
[SCSI] async: introduce 'async_domain' type

This is in preparation for teaching async_synchronize_full() to sync all
pending async work, and not just on the async_running domain.  This
conversion is functionally equivalent, just embedding the existing list
in a new async_domain type.

The .registered attribute is used in a later patch to distinguish
between domains that want to be flushed by async_synchronize_full()
versus those that only expect async_synchronize_{full|cookie}_domain to
be used for flushing.

[jejb: add async.h to scsi_priv.h for struct async_domain]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/regulator/core.c
drivers/scsi/libsas/sas_ata.c
drivers/scsi/scsi.c
drivers/scsi/scsi_priv.h
include/linux/async.h
kernel/async.c
sound/soc/soc-dapm.c