diff options
| author | Dave Chinner <dchinner@redhat.com> | 2018-05-02 22:54:53 +0300 |
|---|---|---|
| committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-09 20:04:01 +0300 |
| commit | d0641780940a9842cbf62114bc8422012c7d88c4 (patch) | |
| tree | de05be7b9370bcad5269ec9265275a34b20144e4 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 3460cac1ca76215a60acb086ebe97b3e50731628 (diff) | |
| download | linux-d0641780940a9842cbf62114bc8422012c7d88c4.tar.xz | |
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 <dchinner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
