Home
last modified time | relevance | path

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

12

/fs/
Dfs-writeback.c46 enum writeback_sync_modes sync_mode; member
863 (base_work->sync_mode == WB_SYNC_NONE || in bdi_split_work_to_wbs()
971 work->sync_mode = WB_SYNC_NONE; in cgroup_writeback_by_id()
1389 (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages)) in requeue_inode()
1461 if (wbc->sync_mode == WB_SYNC_ALL && !wbc->for_sync) { in __writeback_single_inode()
1477 wbc->sync_mode == WB_SYNC_ALL || in __writeback_single_inode()
1540 if (wbc->sync_mode != WB_SYNC_ALL) in writeback_single_inode()
1559 (wbc->sync_mode != WB_SYNC_ALL || in writeback_single_inode()
1602 if (work->sync_mode == WB_SYNC_ALL || work->tagged_writepages) in writeback_chunk_size()
1629 .sync_mode = work->sync_mode, in writeback_sb_inodes()
[all …]
Dsync.c296 int sync_mode = WB_SYNC_NONE; in sync_file_range() local
300 sync_mode = WB_SYNC_ALL; in sync_file_range()
303 sync_mode); in sync_file_range()
Dmpage.c768 int op_flags = (wbc->sync_mode == WB_SYNC_ALL ? in mpage_writepages()
789 int op_flags = (wbc->sync_mode == WB_SYNC_ALL ? in mpage_writepage()
/fs/gfs2/
Daops.c273 if (wbc->sync_mode != WB_SYNC_NONE) in gfs2_write_jdata_pagevec()
313 if (--wbc->nr_to_write <= 0 && wbc->sync_mode == WB_SYNC_NONE) { in gfs2_write_jdata_pagevec()
364 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in gfs2_write_cache_jdata()
370 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in gfs2_write_cache_jdata()
422 if (ret == 0 && wbc->sync_mode == WB_SYNC_ALL) { in gfs2_jdata_writepages()
Dtrace_gfs2.h412 __field( int, sync_mode )
419 __entry->sync_mode = wbc->sync_mode;
425 __entry->sync_mode == WB_SYNC_ALL ? "all" : "none",
Dmeta_io.c55 if (wbc->sync_mode != WB_SYNC_NONE) { in gfs2_aspace_writepage()
/fs/f2fs/
Ddata.c2459 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in f2fs_write_cache_pages()
2464 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in f2fs_write_cache_pages()
2481 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_write_cache_pages()
2502 if (wbc->sync_mode != WB_SYNC_NONE) in f2fs_write_cache_pages()
2525 if (wbc->sync_mode == WB_SYNC_ALL) { in f2fs_write_cache_pages()
2541 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_write_cache_pages()
2579 if (wbc->sync_mode != WB_SYNC_ALL) in __should_serialize_io()
2601 if (!get_dirty_pages(inode) && wbc->sync_mode == WB_SYNC_NONE) in __f2fs_write_data_pages()
2609 wbc->sync_mode == WB_SYNC_NONE && in __f2fs_write_data_pages()
2621 if (wbc->sync_mode == WB_SYNC_ALL) in __f2fs_write_data_pages()
[all …]
Dnode.c1528 wbc->sync_mode == WB_SYNC_NONE && in __write_node_page()
1609 .sync_mode = WB_SYNC_ALL, in f2fs_move_node_page()
1834 wbc->sync_mode == WB_SYNC_NONE) { in f2fs_sync_node_pages()
1854 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_sync_node_pages()
1914 wbc->sync_mode == WB_SYNC_NONE && step == 1) in f2fs_sync_node_pages()
1985 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_node_pages()
1990 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages()
2003 if (wbc->sync_mode == WB_SYNC_ALL) in f2fs_write_node_pages()
Dcheckpoint.c340 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_meta_pages()
1162 .sync_mode = WB_SYNC_ALL, in block_operations()
/fs/ext4/
Dpage-io.c344 int io_op_flags = io->io_wbc->sync_mode == WB_SYNC_ALL ? in ext4_io_submit()
488 if (ret == -ENOMEM && wbc->sync_mode == WB_SYNC_ALL) { in ext4_bio_write_page()
/fs/xfs/
Dxfs_icache.c1099 int sync_mode) in xfs_reclaim_inode() argument
1109 if (!(sync_mode & SYNC_WAIT)) in xfs_reclaim_inode()
1121 if (!(sync_mode & SYNC_WAIT)) in xfs_reclaim_inode()
1134 if (!(sync_mode & SYNC_WAIT)) in xfs_reclaim_inode()
/fs/ceph/
Daddr.c797 wbc->sync_mode == WB_SYNC_NONE ? "NONE" : in ceph_writepages_start()
798 (wbc->sync_mode == WB_SYNC_ALL ? "ALL" : "HOLD")); in ceph_writepages_start()
898 wbc->sync_mode != WB_SYNC_NONE) in ceph_writepages_start()
920 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/nfs/
Dnfs4super.c82 wbc->sync_mode == WB_SYNC_ALL); in nfs4_write_inode()
Dwrite.c327 if (wbc->sync_mode == WB_SYNC_ALL) in wb_priority()
1931 if (wbc && wbc->sync_mode == WB_SYNC_NONE) { in __nfs_commit_inode()
1959 if (wbc->sync_mode == WB_SYNC_NONE) { in nfs_write_inode()
2065 .sync_mode = WB_SYNC_ALL, in nfs_wb_page()
/fs/adfs/
Dinode.c364 ret = adfs_dir_update(sb, &obj, wbc->sync_mode == WB_SYNC_ALL); in adfs_write_inode()
/fs/jfs/
Dinode.c117 int wait = wbc->sync_mode == WB_SYNC_ALL; in jfs_write_inode()
/fs/btrfs/
Dextent_io.c3925 .sync_io = wbc->sync_mode == WB_SYNC_ALL, in btree_write_cache_pages()
3946 if (wbc->sync_mode == WB_SYNC_ALL) in btree_write_cache_pages()
3951 if (wbc->sync_mode == WB_SYNC_ALL) in btree_write_cache_pages()
4107 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in extent_write_cache_pages()
4112 if (wbc->sync_mode == WB_SYNC_ALL || wbc->tagged_writepages) in extent_write_cache_pages()
4143 if (wbc->sync_mode != WB_SYNC_NONE) { in extent_write_cache_pages()
4197 .sync_io = wbc->sync_mode == WB_SYNC_ALL, in extent_write_full_page()
4229 .sync_mode = mode, in extent_write_locked_range()
4265 .sync_io = wbc->sync_mode == WB_SYNC_ALL, in extent_writepages()
/fs/nilfs2/
Dinode.c173 if (wbc->sync_mode == WB_SYNC_ALL) in nilfs_writepages()
200 if (wbc->sync_mode == WB_SYNC_ALL) { in nilfs_writepage()
Dmdt.c427 if (wbc->sync_mode == WB_SYNC_ALL) in nilfs_mdt_write_page()
/fs/cifs/
Dfile.c2203 if (wbc->sync_mode != WB_SYNC_NONE) in wdata_prepare_pages()
2250 wdata->sync_mode = wbc->sync_mode; in wdata_send_pages()
2390 if (wbc->sync_mode == WB_SYNC_ALL && rc == -EAGAIN) { in cifs_writepages()
2459 if (wbc->sync_mode == WB_SYNC_ALL && rc == -EAGAIN) in cifs_writepage_locked()
2937 wdata->sync_mode = WB_SYNC_ALL; in cifs_write_from_iter()
4648 .sync_mode = WB_SYNC_ALL, in cifs_launder_page()
/fs/bfs/
Dinode.c153 if (wbc->sync_mode == WB_SYNC_ALL) { in bfs_write_inode()
/fs/9p/
Dvfs_file.c611 .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