Hello, This patch series implement support in iprutils for volume set caching on supported devices. The changes in iprutils allow configuring the cache through the iprconfig CLI, and also make sure the cache is enabled by default during boot time for supported adapters.
There is one patch I'd like to ask for special attention of reviewers. Patch 4 changes the initialization order in iprinit, to start the attached devices after initializing IOA instead of before. This was required because initializing the cache in vsets depends on globally configuring the IOA first. On my tests, I didn't see any obvious regressions, but I'd like to have some feedback on whether this is acceptable. Regarding UI changes, there is no new command implementend in this patch series. Instead, we reuse the (query|set)-write-cache-policy command for JBODS, extending it to support vsets too. There is a new parameter '-vc' available for raid-create allowing uer to configure the cache at RAID creation time. Well, it's all documented in the patches to man pages. My tests covered basics flows of creating/removing RAIDS with different cache configurations, enabling/disabling it with iprconfig and reboot cycles to see if configuration is recovered. Thanks, Gabriel Krisman Bertazi (9): iprutils: Check vset Write Cache Capability. iprutils: Display adapter-wide information on vset Cache. iprutils: Discover Power system operating mode. iprutils: Initialize IOA before attached devices. iprutils: Enable IOA Sync cache during IOA initialization. iprutils: Configure cache during vset initialization. iprutils: Configure Sync Cache during RAID creation. iprutils: Allow configuring vset cache with set-write-cache-policy. iprutils: Show write cache status in SOS dump. iprconfig.8 | 10 ++++++---- iprconfig.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++----- iprlib.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- iprlib.h | 26 +++++++++++++++++++++--- 4 files changed, 146 insertions(+), 14 deletions(-) -- 2.1.0 ------------------------------------------------------------------------------ _______________________________________________ Iprdd-devel mailing list Iprdd-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iprdd-devel