[LU-17079] Refactor mkfs/mount plugin system Created: 01/Sep/23 Updated: 01/Sep/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Tim Day | Assignee: | Tim Day |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Lustre uses loadable plugins for mkfs/mount to support multiple back end types (mount_osd_zfs.so, mount_osd_ldiskfs.so). This allows for back end support to be vended out separately (in theory). In practice, this can lead to esoteric errors being output when the system isn't setup correctly. The plugin system seems to have value. But it should output useful error messages and try harder to actually find the plugins. Otherwise, errors are hard to debug and the tools don't work well on different platforms. In particular, if I `sudo make install` openZFS - Lustre should be able to find the openZFS binaries.
This ticket will also cover some minor cleanups. |
| Comments |
| Comment by Gerrit Updater [ 01/Sep/23 ] |
|
"Timothy Day <timday@amazon.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52223 |
| Comment by Tim Day [ 01/Sep/23 ] |
|
The bug in https://review.whamcloud.com/c/fs/lustre-release/+/11063 https://review.whamcloud.com/c/fs/lustre-release/+/11193
|