Allow the option to disable verify on array rebuild, which greatly speeds up rebuild time, to get enabled on single adapter configurations and enable this by default.
Signed-off-by: Brian King <brk...@linux.vnet.ibm.com> --- iprlib.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff -puN iprlib.c~iprutils_rebuild_no_verify_fix iprlib.c --- iprutils.patched/iprlib.c~iprutils_rebuild_no_verify_fix 2016-10-06 10:51:41.020162854 -0500 +++ iprutils.patched-bjking1/iprlib.c 2016-10-06 10:51:41.026162816 -0500 @@ -6188,13 +6188,14 @@ static void get_ioa_cap(struct ipr_ioa * + mode_pages.hdr.block_desc_len + sizeof(mode_pages.hdr)); ioa->rebuild_rate = page24->rebuild_rate; - if (ioa_cap.dual_ioa_raid || ioa_cap.dual_ioa_asymmetric_access) { - if (ioa_cap.disable_array_rebuild_verify) { - ioa->configure_rebuild_verify = 1; - ioa->disable_rebuild_verify = - page24->rebuild_without_verify; - } + if (ioa_cap.disable_array_rebuild_verify) { + ioa->configure_rebuild_verify = 1; + ioa->disable_rebuild_verify = + page24->rebuild_without_verify; + } + + if (ioa_cap.dual_ioa_raid || ioa_cap.dual_ioa_asymmetric_access) { if (ioa_cap.dual_ioa_raid && page24->dual_adapter_af == ENABLE_DUAL_IOA_AF) ioa->dual_raid_support = 1; _ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Iprdd-devel mailing list Iprdd-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iprdd-devel