This is some minor DIO refactoring and an additional debug
message discovered while working on this. Extremely minor.
test-parameters: trivial
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ica2a7340ac02d3ba0d8f65662ff4b39026078e81
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49987
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
spin_unlock(&anchor->csi_waitq.lock);
- if (csi_dio_aio) {
- if (end_io == cl_dio_aio_end) {
- if (!creator_free)
- cl_dio_aio_free(env, dio_aio);
- } else if (end_io == cl_sub_dio_end) {
- if (!creator_free)
- cl_sub_dio_free(sub_dio_aio);
- }
+ if (csi_dio_aio && !creator_free) {
+ if (end_io == cl_dio_aio_end)
+ cl_dio_aio_free(env, dio_aio);
+ else if (end_io == cl_sub_dio_end)
+ cl_sub_dio_free(sub_dio_aio);
}
}
EXIT;
spin_lock(&cli->cl_loi_list_lock);
}
+ EXIT;
}
int osc_io_unplug0(const struct lu_env *env, struct client_obd *cli,