mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
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 <[email protected]>
Acked-by: Arjan van de Ven <[email protected]>
Acked-by: Mark Brown <[email protected]>
Tested-by: Eldad Zack <[email protected]>
Signed-off-by: James Bottomley <[email protected]>