Home
last modified time | relevance | path

Searched refs:sync_mode (Results 1 – 25 of 48) sorted by relevance

12

/fs/
Dfs-writeback.c49 enum writeback_sync_modes sync_mode; member
864 (base_work->sync_mode == WB_SYNC_NONE || in bdi_split_work_to_wbs()
1004 work->sync_mode = WB_SYNC_NONE; in wb_start_writeback()
1304 (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages)) in requeue_inode()
1376 if (wbc->sync_mode == WB_SYNC_ALL && !wbc->for_sync) { in __writeback_single_inode()
1392 wbc->sync_mode == WB_SYNC_ALL || in __writeback_single_inode()
1455 if (wbc->sync_mode != WB_SYNC_ALL) in writeback_single_inode()
1474 (wbc->sync_mode != WB_SYNC_ALL || in writeback_single_inode()
1517 if (work->sync_mode == WB_SYNC_ALL || work->tagged_writepages) in writeback_chunk_size()
1544 .sync_mode = work->sync_mode, in writeback_sb_inodes()
[all …]
Dmpage.c754 int op_flags = (wbc->sync_mode == WB_SYNC_ALL ? in mpage_writepages()
775 int op_flags = (wbc->sync_mode == WB_SYNC_ALL ? in mpage_writepage()
/fs/gfs2/
Dtrace_gfs2.h408 __field( int, sync_mode )
415 __entry->sync_mode = wbc->sync_mode;
421 __entry->sync_mode == WB_SYNC_ALL ? "all" : "none",
Daops.c299 if (wbc->sync_mode != WB_SYNC_NONE) in gfs2_write_jdata_pagevec()
339 if (--wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) { in gfs2_write_jdata_pagevec()
390 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in gfs2_write_cache_jdata()
396 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in gfs2_write_cache_jdata()
448 if (ret == 0 && wbc->sync_mode == WB_SYNC_ALL) { in gfs2_jdata_writepages()
Dmeta_io.c58 if (wbc->sync_mode != WB_SYNC_NONE) { in gfs2_aspace_writepage()
/fs/f2fs/
Ddata.c2152 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in f2fs_write_cache_pages()
2157 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in f2fs_write_cache_pages()
2174 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_write_cache_pages()
2195 if (wbc->sync_mode != WB_SYNC_NONE) in f2fs_write_cache_pages()
2217 if (wbc->sync_mode == WB_SYNC_ALL) { in f2fs_write_cache_pages()
2233 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_write_cache_pages()
2265 if (wbc->sync_mode != WB_SYNC_ALL) in __should_serialize_io()
2287 if (!get_dirty_pages(inode) && wbc->sync_mode == WB_SYNC_NONE) in __f2fs_write_data_pages()
2295 wbc->sync_mode == WB_SYNC_NONE && in __f2fs_write_data_pages()
2307 if (wbc->sync_mode == WB_SYNC_ALL) in __f2fs_write_data_pages()
[all …]
Dnode.c1518 if (wbc->sync_mode == WB_SYNC_NONE && in __write_node_page()
1598 .sync_mode = WB_SYNC_ALL, in f2fs_move_node_page()
1782 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_sync_node_pages()
1802 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_sync_node_pages()
1854 if (wbc->sync_mode == WB_SYNC_NONE && step == 1) in f2fs_sync_node_pages()
1925 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_node_pages()
1930 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages()
1943 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages()
Dcheckpoint.c309 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_meta_pages()
1107 .sync_mode = WB_SYNC_ALL, in block_operations()
/fs/ext4/
Dpage-io.c352 int io_op_flags = io->io_wbc->sync_mode == WB_SYNC_ALL ? in ext4_io_submit()
497 (io->io_bio || wbc->sync_mode == WB_SYNC_ALL)) { in ext4_bio_write_page()
/fs/xfs/
Dxfs_icache.c1097 int sync_mode) in xfs_reclaim_inode() argument
1107 if (!(sync_mode & SYNC_WAIT)) in xfs_reclaim_inode()
1119 if (!(sync_mode & SYNC_WAIT)) in xfs_reclaim_inode()
1132 if (!(sync_mode & SYNC_WAIT)) in xfs_reclaim_inode()
/fs/ceph/
Daddr.c799 wbc->sync_mode == WB_SYNC_NONE ? "NONE" : in ceph_writepages_start()
800 (wbc->sync_mode == WB_SYNC_ALL ? "ALL" : "HOLD")); in ceph_writepages_start()
852 if (index > 0 || wbc->sync_mode != WB_SYNC_NONE) in ceph_writepages_start()
908 if (wbc->sync_mode == WB_SYNC_NONE) { in ceph_writepages_start()
1141 if (wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) in ceph_writepages_start()
1157 if (wbc->sync_mode != WB_SYNC_NONE && in ceph_writepages_start()
/fs/sysv/
Dialloc.c144 .sync_mode = WB_SYNC_NONE in sysv_new_inode()
Dinode.c283 return __sysv_write_inode(inode, wbc->sync_mode == WB_SYNC_ALL); in sysv_write_inode()
/fs/afs/
Dwrite.c531 if (wbc->sync_mode != WB_SYNC_NONE) in afs_writepages_region()
688 .sync_mode = WB_SYNC_ALL, in afs_writeback_all()
/fs/nfs/
Dwrite.c316 if (wbc->sync_mode == WB_SYNC_ALL) in wb_priority()
1910 if (wbc && wbc->sync_mode == WB_SYNC_NONE) { in __nfs_commit_inode()
1938 if (wbc->sync_mode == WB_SYNC_NONE) { in nfs_write_inode()
2044 .sync_mode = WB_SYNC_ALL, in nfs_wb_page()
Dnfs4super.c81 wbc->sync_mode == WB_SYNC_ALL); in nfs4_write_inode()
/fs/jfs/
Dinode.c129 int wait = wbc->sync_mode == WB_SYNC_ALL; in jfs_write_inode()
/fs/adfs/
Dinode.c369 ret = adfs_dir_update(sb, &obj, wbc->sync_mode == WB_SYNC_ALL); in adfs_write_inode()
/fs/cifs/
Dfile.c2096 if (wbc->sync_mode != WB_SYNC_NONE) in wdata_prepare_pages()
2143 wdata->sync_mode = wbc->sync_mode; in wdata_send_pages()
2255 if (wbc->sync_mode == WB_SYNC_ALL && rc == -EAGAIN) { in cifs_writepages()
2309 if (wbc->sync_mode == WB_SYNC_ALL) in cifs_writepage_locked()
2667 wdata->sync_mode = WB_SYNC_ALL; in cifs_write_from_iter()
4114 .sync_mode = WB_SYNC_ALL, in cifs_launder_page()
/fs/btrfs/
Dextent_io.c3792 .sync_io = wbc->sync_mode == WB_SYNC_ALL, in btree_write_cache_pages()
3814 if (wbc->sync_mode == WB_SYNC_ALL) in btree_write_cache_pages()
3819 if (wbc->sync_mode == WB_SYNC_ALL) in btree_write_cache_pages()
3955 if (wbc->sync_mode == WB_SYNC_ALL) in extent_write_cache_pages()
3960 if (wbc->sync_mode == WB_SYNC_ALL) in extent_write_cache_pages()
3990 if (wbc->sync_mode != WB_SYNC_NONE) { in extent_write_cache_pages()
4085 .sync_io = wbc->sync_mode == WB_SYNC_ALL, in extent_write_full_page()
4114 .sync_mode = mode, in extent_write_locked_range()
4150 .sync_io = wbc->sync_mode == WB_SYNC_ALL, in extent_writepages()
/fs/nilfs2/
Dinode.c182 if (wbc->sync_mode == WB_SYNC_ALL) in nilfs_writepages()
209 if (wbc->sync_mode == WB_SYNC_ALL) { in nilfs_writepage()
Dmdt.c436 if (wbc->sync_mode == WB_SYNC_ALL) in nilfs_mdt_write_page()
/fs/bfs/
Dinode.c153 if (wbc->sync_mode == WB_SYNC_ALL) { in bfs_write_inode()
/fs/9p/
Dvfs_file.c626 .sync_mode = WB_SYNC_ALL, in v9fs_mmap_vm_close()
/fs/omfs/
Dinode.c174 return __omfs_write_inode(inode, wbc->sync_mode == WB_SYNC_ALL); in omfs_write_inode()

12