/Linux-v5.15/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 …]
|
/Linux-v5.15/fs/f2fs/ |
D | data.c | 392 static struct bio *__bio_alloc(struct f2fs_io_info *fio, int npages) in __bio_alloc() argument 394 struct f2fs_sb_info *sbi = fio->sbi; in __bio_alloc() 399 f2fs_target_device(sbi, fio->new_blkaddr, bio); in __bio_alloc() 400 if (is_read_io(fio->op)) { in __bio_alloc() 407 fio->type, fio->temp); in __bio_alloc() 411 if (fio->io_wbc) in __bio_alloc() 412 wbc_init_bio(fio->io_wbc, bio); in __bio_alloc() 419 const struct f2fs_io_info *fio, in f2fs_set_bio_crypt_ctx() argument 426 if (!fio || !fio->encrypted_page) in f2fs_set_bio_crypt_ctx() 432 const struct f2fs_io_info *fio) in f2fs_crypt_mergeable_bio() argument [all …]
|
D | gc.c | 1055 struct f2fs_io_info fio = { in ra_data_block() local 1099 fio.page = page; in ra_data_block() 1100 fio.new_blkaddr = fio.old_blkaddr = dn.data_blkaddr; in ra_data_block() 1110 fio.encrypted_page = f2fs_pagecache_get_page(META_MAPPING(sbi), in ra_data_block() 1113 if (!fio.encrypted_page) { in ra_data_block() 1118 err = f2fs_submit_page_bio(&fio); in ra_data_block() 1121 f2fs_put_page(fio.encrypted_page, 0); in ra_data_block() 1129 f2fs_put_page(fio.encrypted_page, 1); in ra_data_block() 1142 struct f2fs_io_info fio = { in move_data_block() local 1159 bool lfs_mode = f2fs_lfs_mode(fio.sbi); in move_data_block() [all …]
|
D | segment.c | 390 struct f2fs_io_info fio = { in __f2fs_commit_inmem_pages() local 419 fio.page = page; in __f2fs_commit_inmem_pages() 420 fio.old_blkaddr = NULL_ADDR; in __f2fs_commit_inmem_pages() 421 fio.encrypted_page = NULL; in __f2fs_commit_inmem_pages() 422 fio.need_lock = LOCK_DONE; in __f2fs_commit_inmem_pages() 423 err = f2fs_do_write_data_page(&fio); in __f2fs_commit_inmem_pages() 435 cur->old_addr = fio.old_blkaddr; in __f2fs_commit_inmem_pages() 3307 static int __get_segment_type_2(struct f2fs_io_info *fio) in __get_segment_type_2() argument 3309 if (fio->type == DATA) in __get_segment_type_2() 3315 static int __get_segment_type_4(struct f2fs_io_info *fio) in __get_segment_type_4() argument [all …]
|
D | compress.c | 1225 struct f2fs_io_info fio = { in f2fs_write_compressed_pages() local 1279 err = f2fs_get_node_info(fio.sbi, dn.nid, &ni); in f2fs_write_compressed_pages() 1283 fio.version = ni.version; in f2fs_write_compressed_pages() 1301 fio.compressed_page = cc->cpages[i]; in f2fs_write_compressed_pages() 1303 fio.old_blkaddr = data_blkaddr(dn.inode, dn.node_page, in f2fs_write_compressed_pages() 1307 f2fs_wait_on_block_writeback(inode, fio.old_blkaddr); in f2fs_write_compressed_pages() 1309 if (fio.encrypted) { in f2fs_write_compressed_pages() 1310 fio.page = cc->rpages[i + 1]; in f2fs_write_compressed_pages() 1311 err = f2fs_encrypt_one_page(&fio); in f2fs_write_compressed_pages() 1314 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 | 695 static inline void verify_fio_blkaddr(struct f2fs_io_info *fio) in verify_fio_blkaddr() argument 697 struct f2fs_sb_info *sbi = fio->sbi; in verify_fio_blkaddr() 699 if (__is_valid_data_blkaddr(fio->old_blkaddr)) in verify_fio_blkaddr() 700 verify_blkaddr(sbi, fio->old_blkaddr, __is_meta_io(fio) ? in verify_fio_blkaddr() 702 verify_blkaddr(sbi, fio->new_blkaddr, __is_meta_io(fio) ? in verify_fio_blkaddr()
|
D | checkpoint.c | 61 struct f2fs_io_info fio = { in __get_meta_page() local 74 fio.op_flags &= ~REQ_META; in __get_meta_page() 84 fio.page = page; in __get_meta_page() 86 err = f2fs_submit_page_bio(&fio); in __get_meta_page() 218 struct f2fs_io_info fio = { in f2fs_ra_meta_pages() local 231 fio.op_flags &= ~REQ_META; in f2fs_ra_meta_pages() 245 fio.new_blkaddr = current_nat_addr(sbi, in f2fs_ra_meta_pages() 252 fio.new_blkaddr = current_sit_addr(sbi, in f2fs_ra_meta_pages() 258 fio.new_blkaddr = blkno; in f2fs_ra_meta_pages() 265 fio.new_blkaddr, false); in f2fs_ra_meta_pages() [all …]
|
D | f2fs.h | 1188 struct f2fs_io_info fio; /* store buffered io info. */ member 3237 #define __is_meta_io(fio) (PAGE_TYPE_OF_BIO((fio)->type) == META) argument 3479 void f2fs_do_write_node_page(unsigned int nid, struct f2fs_io_info *fio); 3481 struct f2fs_io_info *fio); 3482 int f2fs_inplace_write_data(struct f2fs_io_info *fio); 3494 struct f2fs_io_info *fio); 3579 int f2fs_submit_page_bio(struct f2fs_io_info *fio); 3580 int f2fs_merge_page_bio(struct f2fs_io_info *fio); 3581 void f2fs_submit_page_write(struct f2fs_io_info *fio); 3599 int f2fs_do_write_data_page(struct f2fs_io_info *fio); [all …]
|
D | node.c | 1333 struct f2fs_io_info fio = { in read_node_page() local 1362 fio.new_blkaddr = fio.old_blkaddr = ni.blk_addr; in read_node_page() 1364 err = f2fs_submit_page_bio(&fio); in read_node_page() 1567 struct f2fs_io_info fio = { in __write_node_page() local 1629 fio.op_flags |= REQ_PREFLUSH | REQ_FUA; in __write_node_page() 1641 fio.old_blkaddr = ni.blk_addr; in __write_node_page() 1642 f2fs_do_write_node_page(nid, &fio); in __write_node_page() 1643 set_node_addr(sbi, &ni, fio.new_blkaddr, is_fsync_dnode(page)); in __write_node_page() 1659 *submitted = fio.submitted; in __write_node_page()
|
/Linux-v5.15/tools/io_uring/ |
D | README | 27 Fio includes an io_uring engine, you can clone fio here: 29 git://git.kernel.dk/fio
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/Documentation/admin-guide/device-mapper/ |
D | unstriped.rst | 104 With the dm-unstriped target we're able to segregate an fio script that
|
/Linux-v5.15/Documentation/admin-guide/ |
D | bcache.rst | 358 But if you want to benchmark reads from cache, and you start out with fio
|