-
NeilBrown authored
lov - the logical object volume manager - is responsible for striping data across multiple volumes. So when it is given a request, it creates one or more sub-requests, one for each target volume. Each sub_io request has a sub_env environment which it operates in. When lov_io_data_version_end() calls lov_io_end_wrapper() to wait for and close off a sub_io, it passes the wrong environment. This causes an LINVRNT() to fail in cl2osc_io(), and may cause other problems. This patch changes the call to use ->sub_env, much like other code in the same file. Change-Id: Id120929f4189196232d18103007e45ba89195fff Fixes: fcd45488 (LU-5683 clio: add CIT_DATA_VERSION) Signed-off-by:
NeilBrown <neilb@suse.com> Signed-off-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/31418 Reviewed-by:
Jinshan Xiong <jinshan.xiong@gmail.com> Reviewed-by:
Bobi Jam <bobijam@hotmail.com> Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>
NeilBrown authoredlov - the logical object volume manager - is responsible for striping data across multiple volumes. So when it is given a request, it creates one or more sub-requests, one for each target volume. Each sub_io request has a sub_env environment which it operates in. When lov_io_data_version_end() calls lov_io_end_wrapper() to wait for and close off a sub_io, it passes the wrong environment. This causes an LINVRNT() to fail in cl2osc_io(), and may cause other problems. This patch changes the call to use ->sub_env, much like other code in the same file. Change-Id: Id120929f4189196232d18103007e45ba89195fff Fixes: fcd45488 (LU-5683 clio: add CIT_DATA_VERSION) Signed-off-by:
NeilBrown <neilb@suse.com> Signed-off-by:
James Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/31418 Reviewed-by:
Jinshan Xiong <jinshan.xiong@gmail.com> Reviewed-by:
Bobi Jam <bobijam@hotmail.com> Tested-by: Jenkins Tested-by:
Maloo <hpdd-maloo@intel.com> Reviewed-by:
Oleg Drokin <oleg.drokin@intel.com>