| /linux/drivers/md/ |
| H A D | dm-verity-fec.c | 80 struct dm_verity_fec_io *fio, in fec_buffer_rs_block() argument 83 return &fio->bufs[i][j * v->fec->rsn]; in fec_buffer_rs_block() 100 struct dm_verity_fec_io *fio, u64 rsb, int byte_index, in fec_decode_bufs() argument 119 fec_for_each_buffer_rs_block(fio, n, i) { in fec_decode_bufs() 120 block = fec_buffer_rs_block(v, fio, n, i); in fec_decode_bufs() 124 res = decode_rs8(fio->rs, block, par_buf, v->fec->rsn, in fec_decode_bufs() 125 NULL, neras, fio->erasures, 0, NULL); in fec_decode_bufs() 132 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs() 200 struct dm_verity_fec_io *fio = io->fec_io; in fec_read_bufs() local 253 fio->erasures[(*neras)++] = i; in fec_read_bufs() [all …]
|
| /linux/fs/f2fs/ |
| H A D | data.c | 455 static blk_opf_t f2fs_io_flags(struct f2fs_io_info *fio) in f2fs_io_flags() argument 461 if (fio->op != REQ_OP_WRITE) in f2fs_io_flags() 463 if (fio->type == DATA) in f2fs_io_flags() 464 io_flag = fio->sbi->data_io_flag; in f2fs_io_flags() 465 else if (fio->type == NODE) in f2fs_io_flags() 466 io_flag = fio->sbi->node_io_flag; in f2fs_io_flags() 479 if (BIT(fio->temp) & meta_flag) in f2fs_io_flags() 481 if (BIT(fio->temp) & fua_flag) in f2fs_io_flags() 484 if (fio->type == DATA && in f2fs_io_flags() 485 F2FS_I(fio->folio->mapping->host)->ioprio_hint == F2FS_IOPRIO_WRITE) in f2fs_io_flags() [all …]
|
| H A D | gc.c | 1223 struct f2fs_io_info fio = { in ra_data_block() local 1266 fio.folio = folio; in ra_data_block() 1267 fio.new_blkaddr = fio.old_blkaddr = dn.data_blkaddr; in ra_data_block() 1284 fio.encrypted_page = &efolio->page; in ra_data_block() 1286 err = f2fs_submit_page_bio(&fio); in ra_data_block() 1289 f2fs_put_page(fio.encrypted_page, false); in ra_data_block() 1297 f2fs_put_page(fio.encrypted_page, true); in ra_data_block() 1312 struct f2fs_io_info fio = { in move_data_block() local 1328 bool lfs_mode = f2fs_lfs_mode(fio.sbi); in move_data_block() 1329 int type = fio.sbi->am.atgc_enabled && (gc_type == BG_GC) && in move_data_block() [all …]
|
| H A D | segment.c | 3629 static int __get_segment_type_2(struct f2fs_io_info *fio) in __get_segment_type_2() argument 3631 if (fio->type == DATA) in __get_segment_type_2() 3637 static int __get_segment_type_4(struct f2fs_io_info *fio) in __get_segment_type_4() argument 3639 if (fio->type == DATA) { in __get_segment_type_4() 3640 struct inode *inode = fio_inode(fio); in __get_segment_type_4() 3647 if (IS_DNODE(fio->folio) && is_cold_node(fio->folio)) in __get_segment_type_4() 3671 static int __get_segment_type_6(struct f2fs_io_info *fio) in __get_segment_type_6() argument 3673 if (fio->type == DATA) { in __get_segment_type_6() 3674 struct inode *inode = fio_inode(fio); in __get_segment_type_6() 3680 if (page_private_gcing(fio->page)) { in __get_segment_type_6() [all …]
|
| H A D | compress.c | 1275 struct f2fs_io_info fio = { in f2fs_write_compressed_pages() local 1333 err = f2fs_get_node_info(fio.sbi, dn.nid, &ni, false); in f2fs_write_compressed_pages() 1337 fio.version = ni.version; in f2fs_write_compressed_pages() 1355 fio.compressed_page = cc->cpages[i]; in f2fs_write_compressed_pages() 1357 fio.old_blkaddr = data_blkaddr(dn.inode, dn.node_folio, in f2fs_write_compressed_pages() 1361 f2fs_wait_on_block_writeback(inode, fio.old_blkaddr); in f2fs_write_compressed_pages() 1363 if (fio.encrypted) { in f2fs_write_compressed_pages() 1364 fio.page = cc->rpages[i + 1]; in f2fs_write_compressed_pages() 1365 err = f2fs_encrypt_one_page(&fio); in f2fs_write_compressed_pages() 1368 cc->cpages[i] = fio.encrypted_page; in f2fs_write_compressed_pages() [all …]
|
| H A D | inline.c | 147 struct f2fs_io_info fio = { in f2fs_convert_inline_folio() local 167 err = f2fs_get_node_info(fio.sbi, dn->nid, &ni, false); in f2fs_convert_inline_folio() 174 fio.version = ni.version; in f2fs_convert_inline_folio() 178 set_sbi_flag(fio.sbi, SBI_NEED_FSCK); in f2fs_convert_inline_folio() 179 f2fs_warn(fio.sbi, "%s: corrupted inline inode ino=%lx, i_addr[0]:0x%x, run fsck to fix.", in f2fs_convert_inline_folio() 181 f2fs_handle_error(fio.sbi, ERROR_INVALID_BLKADDR); in f2fs_convert_inline_folio() 195 fio.old_blkaddr = dn->data_blkaddr; in f2fs_convert_inline_folio() 197 f2fs_outplace_write_data(dn, &fio); in f2fs_convert_inline_folio()
|
| H A D | segment.h | 832 static inline void verify_fio_blkaddr(struct f2fs_io_info *fio) in verify_fio_blkaddr() argument 834 struct f2fs_sb_info *sbi = fio->sbi; in verify_fio_blkaddr() 836 if (__is_valid_data_blkaddr(fio->old_blkaddr)) in verify_fio_blkaddr() 837 verify_blkaddr(sbi, fio->old_blkaddr, __is_meta_io(fio) ? in verify_fio_blkaddr() 839 verify_blkaddr(sbi, fio->new_blkaddr, __is_meta_io(fio) ? in verify_fio_blkaddr()
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | test_integrity_02.sh | 6 if ! _have_program fio; then 10 fio_version=$(fio --version) 11 if [[ "$fio_version" =~ fio-[0-9]+\.[0-9]+$ ]]; then 41 fio --name fill --rw randwrite $fio_args > /dev/null 48 fio --name verify --rw randread $fio_args > /dev/null 68 if fio --name corrupted_reftag --rw randread $fio_args > /dev/null 2> "$fio_err"; then 100 if fio --name corrupted_data --rw randread $fio_args > /dev/null 2> "$fio_err"; then 116 if fio --name bad_apptag --rw randread $fio_args --apptag 0x4321 > /dev/null 2> "$fio_err"; then
|
| H A D | test_null_03.sh | 8 if ! _have_program fio; then 18 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio --rw=readwrite --iodepth=32 --si…
|
| H A D | test_null_01.sh | 8 if ! _have_program fio; then 18 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio --rw=readwrite --iodepth=32 --si…
|
| H A D | test_null_02.sh | 8 if ! _have_program fio; then 18 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio --rw=readwrite --iodepth=32 --si…
|
| H A D | test_generic_09.sh | 12 if ! _have_program fio; then 22 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio --rw=readwrite --iodepth=32 --si…
|
| H A D | test_batch_02.sh | 12 if ! _have_program fio; then 24 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio --rw=readwrite \
|
| H A D | test_batch_03.sh | 12 if ! _have_program fio; then 24 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio --rw=readwrite \
|
| H A D | test_generic_02.sh | 12 if ! _have_program fio; then 37 taskset -c 0 fio --name=write_seq \
|
| H A D | test_generic_12.sh | 12 if ! _have_program fio; then 34 fio --name=write_seq \
|
| H A D | test_common.sh | 47 fio --name=verify --rw=randwrite --direct=1 --ioengine=libaio \ 319 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio \ 322 fio --name=batchjob --filename=/dev/ublkb"${dev_id}" --ioengine=io_uring \ 386 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio \
|
| H A D | test_stress_05.sh | 7 if ! _have_program fio; then 23 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio \
|
| H A D | test_loop_06.sh | 8 if ! _have_program fio; then
|
| H A D | test_loop_01.sh | 8 if ! _have_program fio; then
|
| H A D | test_loop_05.sh | 8 if ! _have_program fio; then
|
| H A D | test_loop_03.sh | 8 if ! _have_program fio; then
|
| H A D | test_stripe_01.sh | 8 if ! _have_program fio; then
|
| H A D | test_stripe_03.sh | 8 if ! _have_program fio; then
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | workqueue.rst | 395 $ fio --filename=/dev/dm-0 --direct=1 --rw=randrw --bs=32k --ioengine=libaio \ 400 使得 ``fio`` 每次生成和读回内容受发起者和 ``kcryptd`` 434 $ fio --filename=/dev/dm-0 --direct=1 --rw=randrw --bs=32k \ 475 $ fio --filename=/dev/dm-0 --direct=1 --rw=randrw --bs=32k \
|