[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>
Showing
- drivers/regulator/core.c 1 addition, 1 deletiondrivers/regulator/core.c
- drivers/scsi/libsas/sas_ata.c 1 addition, 1 deletiondrivers/scsi/libsas/sas_ata.c
- drivers/scsi/scsi.c 2 additions, 1 deletiondrivers/scsi/scsi.c
- drivers/scsi/scsi_priv.h 2 additions, 1 deletiondrivers/scsi/scsi_priv.h
- include/linux/async.h 31 additions, 4 deletionsinclude/linux/async.h
- kernel/async.c 17 additions, 18 deletionskernel/async.c
- sound/soc/soc-dapm.c 1 addition, 1 deletionsound/soc/soc-dapm.c
Please register or sign in to comment