diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 18:27:32 +0900 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 18:27:32 +0900 |
commit | 72fa4b742b327bd1b07985d79a61c61dbd9fd4e6 (patch) | |
tree | 50d95fcf58e709b12510151e8e1cae8d8cb2538e /include/linux/atmlec.h | |
parent | 3ef3b43d5633d30fa3f033f62094ec2e9c5b8376 (diff) | |
download | op-kernel-dev-72fa4b742b327bd1b07985d79a61c61dbd9fd4e6.zip op-kernel-dev-72fa4b742b327bd1b07985d79a61c61dbd9fd4e6.tar.gz |
[PATCH] libata-hp-prep: make some ata_device fields persistent
Lifetimes of some fields span over device plugging/unplugging. This
patch moves such persistent fields to the top of ata_device and
separate them with ATA_DEVICE_CLEAR_OFFSET. Fields above the offset
are initialized once during host initializatino while all other fields
are cleared before hotplugging. Currently ->ap, devno and part of
flags are persistent.
Note that flags is partially cleared while holding host_set lock.
This is to synchronize with later warm plug implementation which will
record hotplug request in dev->flags.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'include/linux/atmlec.h')
0 files changed, 0 insertions, 0 deletions