Home
last modified time | relevance | path

Searched refs:delalloc (Results 1 – 10 of 10) sorted by relevance

/linux/fs/btrfs/
H A Dfiemap.c37 * an extent range in order to prevent races with delalloc flushing and
39 * delalloc in holes and prealloc extents. And this can lead to a deadlock
145 * when we had a hole or prealloc extent with several delalloc ranges in in emit_fiemap_extent()
146 * it, but after btrfs_next_leaf() released the path, delalloc was in emit_fiemap_extent()
185 * have found delalloc ranges (in the io tree), so what in emit_fiemap_extent()
186 * we have in the cache is the last delalloc range we in emit_fiemap_extent()
188 * either for a whole delalloc range we previously in emit_fiemap_extent()
453 * There can be no delalloc past i_size, so don't waste time looking for in fiemap_process_hole()
461 bool delalloc; in fiemap_process_hole() local
463 delalloc in fiemap_process_hole()
828 bool delalloc; extent_fiemap() local
[all...]
H A Dextent-tree.h33 int delalloc; member
141 struct btrfs_key *ins, int is_data, int delalloc);
H A Dextent-tree.c2313 * quick here as we're called in write paths (when flushing delalloc and
3592 int delalloc) in btrfs_lock_block_group() argument
3594 if (delalloc) in btrfs_lock_block_group()
3599 int delalloc) in btrfs_grab_block_group() argument
3602 if (delalloc) in btrfs_grab_block_group()
3609 int delalloc) in btrfs_lock_cluster() argument
3625 if (!delalloc) in btrfs_lock_cluster()
3647 int delalloc) in btrfs_release_block_group() argument
3649 if (delalloc) in btrfs_release_block_group()
3686 cluster_bg = btrfs_lock_cluster(bg, last_ptr, ffe_ctl->delalloc); in find_free_extent_clustered()
4037 release_block_group(struct btrfs_block_group * block_group,struct find_free_extent_ctl * ffe_ctl,int delalloc) release_block_group() argument
4691 btrfs_reserve_extent(struct btrfs_root * root,u64 ram_bytes,u64 num_bytes,u64 min_alloc_size,u64 empty_size,u64 hint_byte,struct btrfs_key * ins,int is_data,int delalloc) btrfs_reserve_extent() argument
[all...]
H A DMakefile34 block-rsv.o delalloc-space.o block-group.o discard.o reflink.o \
H A Dspace-info.c22 * If you want to know about delalloc specifically, there is a separate comment
23 * for that with the delalloc code. This comment is about how the whole system
119 * Look at the delalloc comment to get an idea of how much space is reserved
121 * running delalloc, but usually we need to wait for ordered extents to
641 "block group %llu has %llu bytes, %llu used %llu pinned %llu reserved %llu delalloc %llu super %llu zone_unusable (%llu bytes available) %s", in btrfs_dump_space_info()
671 * shrink metadata reservation for delalloc
699 * here. We will take a fraction of the delalloc bytes for our in shrink_delalloc()
713 * If we are doing more ordered than delalloc we need to just wait on in shrink_delalloc()
714 * ordered extents, otherwise we'll waste time trying to flush delalloc in shrink_delalloc()
777 * If we are for preemption we just want a one-shot of delalloc in shrink_delalloc()
932 u64 ordered, delalloc; need_preemptive_reclaim() local
1685 u64 delalloc = percpu_counter_sum_positive(&fs_info->delalloc_bytes); maybe_clamp_preempt() local
[all...]
H A Dblock-group.h348 u64 ram_bytes, u64 num_bytes, int delalloc,
H A Dfile.c29 #include "delalloc-space.h"
64 * After copy_folio_from_iter_atomic(), update the following things for delalloc:
1330 * state, acquired while marking the extent range as delalloc through in copy_one_range()
1642 * We check the flag here after starting delalloc above, because when in btrfs_sync_file()
1643 * running delalloc the full sync flag may be set if we need to drop in btrfs_sync_file()
1843 * holes and correct delalloc and unwritten extent mapping on filesystems that
1881 * Reserving delalloc space after obtaining the page lock can lead to in btrfs_page_mkwrite()
1939 * We can't set the delalloc bits if there are pending ordered in btrfs_page_mkwrite()
1968 * faulted in, but write(2) could also dirty a page and set delalloc in btrfs_page_mkwrite()
1970 * clear any delalloc bit in btrfs_page_mkwrite()
3417 bool delalloc; btrfs_find_delalloc_in_range() local
3471 bool delalloc; find_desired_extent_in_hole() local
[all...]
H A Dblock-group.c17 #include "delalloc-space.h"
3792 * @delalloc: The blocks are allocated for the delalloc write
3799 u64 ram_bytes, u64 num_bytes, int delalloc, in btrfs_add_reserved_bytes() argument
3824 if (delalloc) in btrfs_add_reserved_bytes()
3844 * @is_delalloc: Whether the blocks are allocated for a delalloc write.
/linux/Documentation/filesystems/iomap/
H A Doperations.rst217 caching a fresh (``IOMAP_F_NEW``) delalloc mapping.
317 delalloc reservations to avoid having delalloc reservations for
/linux/fs/xfs/scrub/
H A Dtrace.h855 uint64_t fdblocks, uint64_t delalloc),
856 TP_ARGS(mp, icount, ifree, fdblocks, delalloc),
865 __field(uint64_t, delalloc)
875 __entry->delalloc = delalloc;
885 __entry->delalloc)