/kernel/linux/linux-5.10/drivers/md/ |
D | dm-verity-fec.c | 44 static int fec_decode_rs8(struct dm_verity *v, struct dm_verity_fec_io *fio, in fec_decode_rs8() argument 53 return decode_rs8(fio->rs, data, par, v->fec->rsn, NULL, neras, in fec_decode_rs8() 54 fio->erasures, 0, NULL); in fec_decode_rs8() 104 struct dm_verity_fec_io *fio, in fec_buffer_rs_block() argument 107 return &fio->bufs[i][j * v->fec->rsn]; in fec_buffer_rs_block() 123 static int fec_decode_bufs(struct dm_verity *v, struct dm_verity_fec_io *fio, in fec_decode_bufs() argument 140 fec_for_each_buffer_rs_block(fio, n, i) { in fec_decode_bufs() 141 block = fec_buffer_rs_block(v, fio, n, i); in fec_decode_bufs() 142 res = fec_decode_rs8(v, fio, block, &par[offset], neras); in fec_decode_bufs() 149 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs() [all …]
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | data.c | 440 static struct bio *__bio_alloc(struct f2fs_io_info *fio, int npages) in __bio_alloc() argument 442 struct f2fs_sb_info *sbi = fio->sbi; in __bio_alloc() 447 f2fs_target_device(sbi, fio->new_blkaddr, bio); in __bio_alloc() 448 if (is_read_io(fio->op)) { in __bio_alloc() 455 fio->type, fio->temp); in __bio_alloc() 457 if (fio->io_wbc) in __bio_alloc() 458 wbc_init_bio(fio->io_wbc, bio); in __bio_alloc() 465 const struct f2fs_io_info *fio, in f2fs_set_bio_crypt_ctx() argument 472 if (!fio || !fio->encrypted_page) in f2fs_set_bio_crypt_ctx() 478 const struct f2fs_io_info *fio) in f2fs_crypt_mergeable_bio() argument [all …]
|
D | trace.c | 29 last_io.fio.op, last_io.fio.op_flags, in __print_last_io() 30 last_io.fio.new_blkaddr, in __print_last_io() 87 void f2fs_trace_ios(struct f2fs_io_info *fio, int flush) in f2fs_trace_ios() argument 98 inode = fio->page->mapping->host; in f2fs_trace_ios() 99 pid = page_private(fio->page); in f2fs_trace_ios() 107 last_io.fio.op == fio->op && in f2fs_trace_ios() 108 last_io.fio.op_flags == fio->op_flags && in f2fs_trace_ios() 109 last_io.fio.new_blkaddr + last_io.len == in f2fs_trace_ios() 110 fio->new_blkaddr) { in f2fs_trace_ios() 121 last_io.fio = *fio; in f2fs_trace_ios()
|
D | gc.c | 1051 struct f2fs_io_info fio = { in ra_data_block() local 1095 fio.page = page; in ra_data_block() 1096 fio.new_blkaddr = fio.old_blkaddr = dn.data_blkaddr; in ra_data_block() 1106 fio.encrypted_page = f2fs_pagecache_get_page(META_MAPPING(sbi), in ra_data_block() 1109 if (!fio.encrypted_page) { in ra_data_block() 1114 err = f2fs_submit_page_bio(&fio); in ra_data_block() 1117 f2fs_put_page(fio.encrypted_page, 0); in ra_data_block() 1125 f2fs_put_page(fio.encrypted_page, 1); in ra_data_block() 1138 struct f2fs_io_info fio = { in move_data_block() local 1155 bool lfs_mode = f2fs_lfs_mode(fio.sbi); in move_data_block() [all …]
|
D | segment.c | 474 struct f2fs_io_info fio = { in __f2fs_commit_inmem_pages() local 503 fio.page = page; in __f2fs_commit_inmem_pages() 504 fio.old_blkaddr = NULL_ADDR; in __f2fs_commit_inmem_pages() 505 fio.encrypted_page = NULL; in __f2fs_commit_inmem_pages() 506 fio.need_lock = LOCK_DONE; in __f2fs_commit_inmem_pages() 507 err = f2fs_do_write_data_page(&fio); in __f2fs_commit_inmem_pages() 519 cur->old_addr = fio.old_blkaddr; in __f2fs_commit_inmem_pages() 3406 static int __get_segment_type_2(struct f2fs_io_info *fio) in __get_segment_type_2() argument 3408 if (fio->type == DATA) in __get_segment_type_2() 3414 static int __get_segment_type_4(struct f2fs_io_info *fio) in __get_segment_type_4() argument [all …]
|
D | compress.c | 1146 struct f2fs_io_info fio = { in f2fs_write_compressed_pages() local 1194 err = f2fs_get_node_info(fio.sbi, dn.nid, &ni); in f2fs_write_compressed_pages() 1198 fio.version = ni.version; in f2fs_write_compressed_pages() 1216 fio.compressed_page = cc->cpages[i]; in f2fs_write_compressed_pages() 1218 fio.old_blkaddr = data_blkaddr(dn.inode, dn.node_page, in f2fs_write_compressed_pages() 1222 f2fs_wait_on_block_writeback(inode, fio.old_blkaddr); in f2fs_write_compressed_pages() 1224 if (fio.encrypted) { in f2fs_write_compressed_pages() 1225 fio.page = cc->rpages[i + 1]; in f2fs_write_compressed_pages() 1226 err = f2fs_encrypt_one_page(&fio); in f2fs_write_compressed_pages() 1229 cc->cpages[i] = fio.encrypted_page; in f2fs_write_compressed_pages() [all …]
|
D | inline.c | 114 struct f2fs_io_info fio = { in f2fs_convert_inline_page() local 134 err = f2fs_get_node_info(fio.sbi, dn->nid, &ni); in f2fs_convert_inline_page() 141 fio.version = ni.version; in f2fs_convert_inline_page() 145 set_sbi_flag(fio.sbi, SBI_NEED_FSCK); in f2fs_convert_inline_page() 146 f2fs_warn(fio.sbi, "%s: corrupted inline inode ino=%lx, i_addr[0]:0x%x, run fsck to fix.", in f2fs_convert_inline_page() 162 fio.old_blkaddr = dn->data_blkaddr; in f2fs_convert_inline_page() 164 f2fs_outplace_write_data(dn, &fio); in f2fs_convert_inline_page()
|
D | segment.h | 716 static inline void verify_fio_blkaddr(struct f2fs_io_info *fio) in verify_fio_blkaddr() argument 718 struct f2fs_sb_info *sbi = fio->sbi; in verify_fio_blkaddr() 720 if (__is_valid_data_blkaddr(fio->old_blkaddr)) in verify_fio_blkaddr() 721 verify_blkaddr(sbi, fio->old_blkaddr, __is_meta_io(fio) ? in verify_fio_blkaddr() 723 verify_blkaddr(sbi, fio->new_blkaddr, __is_meta_io(fio) ? in verify_fio_blkaddr()
|
D | trace.h | 28 struct f2fs_io_info fio; member
|
D | checkpoint.c | 58 struct f2fs_io_info fio = { in __get_meta_page() local 71 fio.op_flags &= ~REQ_META; in __get_meta_page() 81 fio.page = page; in __get_meta_page() 83 err = f2fs_submit_page_bio(&fio); in __get_meta_page() 215 struct f2fs_io_info fio = { in f2fs_ra_meta_pages() local 228 fio.op_flags &= ~REQ_META; in f2fs_ra_meta_pages() 242 fio.new_blkaddr = current_nat_addr(sbi, in f2fs_ra_meta_pages() 249 fio.new_blkaddr = current_sit_addr(sbi, in f2fs_ra_meta_pages() 255 fio.new_blkaddr = blkno; in f2fs_ra_meta_pages() 262 fio.new_blkaddr, false); in f2fs_ra_meta_pages() [all …]
|
D | f2fs.h | 1153 struct f2fs_io_info fio; /* store buffered io info. */ member 3116 #define __is_meta_io(fio) (PAGE_TYPE_OF_BIO((fio)->type) == META) argument 3369 void f2fs_do_write_node_page(unsigned int nid, struct f2fs_io_info *fio); 3371 struct f2fs_io_info *fio); 3372 int f2fs_inplace_write_data(struct f2fs_io_info *fio); 3384 struct f2fs_io_info *fio, int contig_level); 3465 int f2fs_submit_page_bio(struct f2fs_io_info *fio); 3466 int f2fs_merge_page_bio(struct f2fs_io_info *fio); 3467 void f2fs_submit_page_write(struct f2fs_io_info *fio); 3485 int f2fs_do_write_data_page(struct f2fs_io_info *fio); [all …]
|
D | node.c | 1280 struct f2fs_io_info fio = { in read_node_page() local 1308 fio.new_blkaddr = fio.old_blkaddr = ni.blk_addr; in read_node_page() 1310 err = f2fs_submit_page_bio(&fio); in read_node_page() 1514 struct f2fs_io_info fio = { in __write_node_page() local 1579 fio.op_flags |= REQ_PREFLUSH | REQ_FUA; in __write_node_page() 1591 fio.old_blkaddr = ni.blk_addr; in __write_node_page() 1592 f2fs_do_write_node_page(nid, &fio); in __write_node_page() 1593 set_node_addr(sbi, &ni, fio.new_blkaddr, is_fsync_dnode(page)); in __write_node_page() 1609 *submitted = fio.submitted; in __write_node_page()
|
/kernel/linux/build/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/ |
D | run_fio.sh | 29 ./fio --name=rw_bg --numjobs=1 --filename=/mnt/f2fs_mount/fio-test.file \
|
/kernel/linux/linux-5.10/tools/io_uring/ |
D | README | 27 Fio includes an io_uring engine, you can clone fio here: 29 git://git.kernel.dk/fio
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | f2fs.h | 1019 TP_PROTO(struct page *page, struct f2fs_io_info *fio), 1021 TP_ARGS(page, fio), 1039 __entry->old_blkaddr = fio->old_blkaddr; 1040 __entry->new_blkaddr = fio->new_blkaddr; 1041 __entry->op = fio->op; 1042 __entry->op_flags = fio->op_flags; 1043 __entry->temp = fio->temp; 1044 __entry->type = fio->type; 1060 TP_PROTO(struct page *page, struct f2fs_io_info *fio), 1062 TP_ARGS(page, fio), [all …]
|
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/ |
D | unstriped.rst | 104 With the dm-unstriped target we're able to segregate an fio script that
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | bcache.rst | 358 But if you want to benchmark reads from cache, and you start out with fio
|