diff options
| author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-05-23 09:43:30 -0700 |
|---|---|---|
| committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-05-27 08:49:28 -0700 |
| commit | 590b16516ef38e2e88674fe0a0cea39927a8ee2e (patch) | |
| tree | d8845cd9f923caeb56764a9301ba03b14ba758fc /scripts/gcc-plugins/gcc-generate-ipa-pass.h | |
| parent | f0322c7cc05eb23ef034775f9b39254cbd4f3678 (diff) | |
xfs: refactor xfs_iomap_prealloc_size
Refactor xfs_iomap_prealloc_size to be the function that dynamically
computes the per-file preallocation size by moving the allocsize= case
to the caller. Break up the huge comment preceding the function to
annotate the relevant parts of the code, and remove the impossible
check_writeio case.
Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
