I have Martin's permission to push some ide-clean patches, so here we go.
I'm running fine SMP kernel with spinlocks debugging enabled on UP.
Note that this patch brokes ide-cd/tape/floppy/scsi locking...
This patch is mainly for developers to have something to sync with... ;-)
still TODO:
- remove ide_wait commands from interrupt paths
- move locking/completion upwards from ide_do_drive_cmd()
- fix ide device setup/tear down locking
- locking of ioctls
- tape->spinlock is probably obsolete now
Thu Jun 27 13:32:35 CEST 2002 ide-clean-95
It is a merge of patches by Alexander Atanasov and Zwane Mwaikambo
(big thanks guys!) plus some corrections by me...
- Remove locking from IRQ handlers (*_intr etc.) and ata_ops->do_reqeuest(),
ata_ops->end_request().
- Add non-locking __blk_get_request() and __blk_attempt_remege() helpers
to block layer (ll_rw_blk.c).
- Move locking up to the entry points.
- Move ata_expiry_t functions to the ide_startstop_t interface
(need to call ata_error, and its return is idestartstop_t, not wait time).
- Kill ata_end_request() and restart_request() (they were locking variants).
- Disable some ide__sti() for now.
- Misc fixes.
This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:12 EST