diff options
| author | Dave Chinner <[email protected]> | 2018-05-02 12:54:53 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2018-05-09 10:04:01 -0700 |
| commit | d0641780940a9842cbf62114bc8422012c7d88c4 (patch) | |
| tree | de05be7b9370bcad5269ec9265275a34b20144e4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3460cac1ca76215a60acb086ebe97b3e50731628 (diff) | |
xfs: simplify xfs_file_iomap_begin() logic
The current logic that determines whether allocation should be done
has grown somewhat spaghetti like with the addition of IOMAP_NOWAIT
functionality. Separate out each of the different cases into single,
obvious checks to get rid most of the nested IOMAP_NOWAIT checks
in the allocation logic.
Signed-Off-By: Dave Chinner <[email protected]>
Reviewed-by: Carlos Maiolino <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions