|
[PATCH 2.5.65] update md driver to new module API: msg#00094linux.raid
This patch updates the md driver and personalities to the new module interfaces. An owner field has been added to the struct mdk_personality_s. This is initialized by each personality module. The md driver now attempts to take a reference to the personality before calling the personality's run routine. A pers_lock was added to protect the setting, clearing and reading of pers[] entries. This protects try_module_get() racing with unregister_md_personality(). I have tested each personality as a module. -- Daniel McNeil <daniel@xxxxxxxx>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RAIDTOOL Linux source code.: 00094, Timothy Ngo |
|---|---|
| Next by Date: | Re: [PATCH] md - 3 of 3 - Don't check a device size before bd_get in md.c: 00094, Neil Brown |
| Previous by Thread: | RAIDTOOL Linux source code.i: 00094, Timothy Ngo |
| Next by Thread: | I just trashed my RAID5 array - recovery possible?: 00094, Wolfram Schlich |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |