LU-13799 osc: Always set aio in anchor
We currently do not set csi_aio for DIO and use this to
control when we free the aio struct. (For AIO, we must
free it in cl_sync_io_note, but for other users, we have to
wait until after cl_sync_io_wait has been called.)
The lack of csi_aio causes trouble for the implementation
of the next patch, so instead we always set it and control
freeing by checking at that time if we are doing DIO.
Lustre-change: https://review.whamcloud.com/44153
Lustre-commit:
eadccb33ac4bbe54a01da5168f6170702f9b2629
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I3590709c1cb891f1c111d611a438fd348e833787
Reviewed-on: https://review.whamcloud.com/44683
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>