[LU-1448] Disabled OSC can cause NULL pointer dereference when reading import Created: 30/May/12 Updated: 22/Feb/13 Resolved: 01/Jul/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 1.8.6 |
| Fix Version/s: | Lustre 2.3.0, Lustre 2.1.5, Lustre 1.8.9 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jeremy Filizetti | Assignee: | Zhenyu Xu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | llite | ||
| Environment: |
RHEL 5.7 |
||
| Severity: | 3 |
| Bugzilla ID: | 15,505 |
| Rank (Obsolete): | 4575 |
| Description |
|
After mounting a file system with a disabled OSC the import is left in the LUSTRE_IMP_NEW state without an imp_connection. When the OSC's import is read with lprocfs_rd_import the client will panic with a NULL pointer dereference. |
| Comments |
| Comment by Jeremy Filizetti [ 30/May/12 ] |
|
Added patch at http://review.whamcloud.com/#change,2977 |
| Comment by Peter Jones [ 30/May/12 ] |
|
Jeremy Thanks for the patch! Bobijam Could you please review this patch? Thanks Peter |
| Comment by Peter Jones [ 31/May/12 ] |
|
Does this issue also apply to master? If so, could you please port the fix to master Bobijam? It should be possible to still show Jeremy as the original author of this code if you do so. |
| Comment by Peter Jones [ 01/Jul/12 ] |
|
Landed for 2.3 |