diff options
author | Dave Chinner <dchinner@redhat.com> | 2019-09-05 17:32:51 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-09-05 21:36:12 -0700 |
commit | 5e96fa8d2b094c526a57eb4f17396e27010af2db (patch) | |
tree | a36f49586150584d3c5edd52f2156ee7e55feef9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 6546818c857047221df552e3b71e0d93393bed30 (diff) |
xfs: factor iclog state processing out of xlog_state_do_callback()
The iclog IO completion state processing is somewhat complex, and
because it's inside two nested loops it is highly indented and very
hard to read. Factor it out, flatten the logic flow and clean up the
comments so that it much easier to see what the code is doing both
in processing the individual iclogs and in the over
xlog_state_do_callback() operation.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions