| /linux/drivers/md/ |
| H A D | dm-verity-fec.c | 41 struct dm_verity_fec_io *fio, in fec_buffer_rs_message() argument 44 return &fio->bufs[i][j * v->fec->rs_k]; in fec_buffer_rs_message() 52 struct dm_verity_fec_io *fio, u64 target_block, in fec_decode_bufs() argument 89 fec_for_each_buffer_rs_message(fio, n, i) { in fec_decode_bufs() 90 msg_buf = fec_buffer_rs_message(v, fio, n, i); in fec_decode_bufs() 118 res = decode_rs8(fio->rs, msg_buf, par_buf, v->fec->rs_k, in fec_decode_bufs() 119 NULL, neras, fio->erasures, 0, NULL); in fec_decode_bufs() 125 fio->output[out_pos++] = msg_buf[target_region]; in fec_decode_bufs() 181 struct dm_verity_fec_io *fio = io->fec_io; in fec_read_bufs() local 224 fio->erasures[(*neras)++] = i; in fec_read_bufs() [all …]
|
| /linux/fs/f2fs/ |
| H A D | data.c | 459 static blk_opf_t f2fs_io_flags(struct f2fs_io_info *fio) in f2fs_io_flags() argument 465 if (fio->op != REQ_OP_WRITE) in f2fs_io_flags() 467 if (fio->type == DATA) in f2fs_io_flags() 468 io_flag = fio->sbi->data_io_flag; in f2fs_io_flags() 469 else if (fio->type == NODE) in f2fs_io_flags() 470 io_flag = fio->sbi->node_io_flag; in f2fs_io_flags() 483 if (BIT(fio->temp) & meta_flag) in f2fs_io_flags() 485 if (BIT(fio->temp) & fua_flag) in f2fs_io_flags() 488 if (fio->type == DATA && in f2fs_io_flags() 489 F2FS_I(fio->folio->mapping->host)->ioprio_hint == F2FS_IOPRIO_WRITE) in f2fs_io_flags() [all …]
|
| H A D | gc.c | 1221 struct f2fs_io_info fio = { in ra_data_block() local 1277 fio.folio = folio; in ra_data_block() 1278 fio.new_blkaddr = fio.old_blkaddr = dn.data_blkaddr; in ra_data_block() 1295 fio.encrypted_page = &efolio->page; in ra_data_block() 1300 err = f2fs_submit_page_bio(&fio); in ra_data_block() 1303 f2fs_put_page(fio.encrypted_page, false); in ra_data_block() 1313 f2fs_put_page(fio.encrypted_page, true); in ra_data_block() 1331 struct f2fs_io_info fio = { in move_data_block() local 1347 bool lfs_mode = f2fs_lfs_mode(fio.sbi); in move_data_block() 1348 int type = fio.sbi->am.atgc_enabled && (gc_type == BG_GC) && in move_data_block() [all …]
|
| H A D | segment.c | 3755 static int __get_segment_type_2(struct f2fs_io_info *fio) in __get_segment_type_2() argument 3757 if (fio->type == DATA) in __get_segment_type_2() 3763 static int __get_segment_type_4(struct f2fs_io_info *fio) in __get_segment_type_4() argument 3765 if (fio->type == DATA) { in __get_segment_type_4() 3766 struct inode *inode = fio_inode(fio); in __get_segment_type_4() 3773 if (IS_DNODE(fio->folio) && is_cold_node(fio->folio)) in __get_segment_type_4() 3797 static int __get_segment_type_6(struct f2fs_io_info *fio) in __get_segment_type_6() argument 3799 if (fio->type == DATA) { in __get_segment_type_6() 3800 struct inode *inode = fio_inode(fio); in __get_segment_type_6() 3806 if (page_private_gcing(fio->page)) { in __get_segment_type_6() [all …]
|
| H A D | inline.c | 148 struct f2fs_io_info fio = { in f2fs_convert_inline_folio() local 168 err = f2fs_get_node_info(fio.sbi, dn->nid, &ni, false); in f2fs_convert_inline_folio() 175 fio.version = ni.version; in f2fs_convert_inline_folio() 179 set_sbi_flag(fio.sbi, SBI_NEED_FSCK); in f2fs_convert_inline_folio() 180 f2fs_warn(fio.sbi, "%s: corrupted inline inode ino=%llu, i_addr[0]:0x%x, run fsck to fix.", in f2fs_convert_inline_folio() 182 f2fs_handle_error(fio.sbi, ERROR_INVALID_BLKADDR); in f2fs_convert_inline_folio() 197 fio.old_blkaddr = dn->data_blkaddr; in f2fs_convert_inline_folio() 199 f2fs_outplace_write_data(dn, &fio); in f2fs_convert_inline_folio()
|
| H A D | segment.h | 806 static inline void verify_fio_blkaddr(struct f2fs_io_info *fio) in verify_fio_blkaddr() argument 808 struct f2fs_sb_info *sbi = fio->sbi; in verify_fio_blkaddr() 810 if (__is_valid_data_blkaddr(fio->old_blkaddr)) in verify_fio_blkaddr() 811 verify_blkaddr(sbi, fio->old_blkaddr, __is_meta_io(fio) ? in verify_fio_blkaddr() 813 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 min_fio_version=fio-3.42 11 fio_version=$(fio --version) 42 fio --name fill --rw randwrite $fio_args > /dev/null 49 fio --name verify --rw randread $fio_args > /dev/null 69 if fio --name corrupted_reftag --rw randread $fio_args > /dev/null 2> "$fio_err"; then 101 if fio --name corrupted_data --rw randread $fio_args > /dev/null 2> "$fio_err"; then 117 if fio --name bad_apptag --rw randread $fio_args --apptag 0x4321 > /dev/null 2> "$fio_err"; then
|
| H A D | test_integrity_03.sh | 6 if ! _have_program fio; then 11 fio --name fill --rw randwrite $fio_args > /dev/null 18 fio --name verify --rw randread $fio_args > /dev/null 37 if fio --name corrupted_reftag --rw randread $fio_args > /dev/null 2> "$fio_err"; then 68 if fio --name corrupted_data --rw randread $fio_args > /dev/null 2> "$fio_err"; then
|
| H A D | test_batch_04.sh | 13 if ! _have_program fio || ! _have_program timeout; then 31 timeout -k 2 5 fio --name=job1 --filename=/dev/ublkb"${dev_id}" \ 39 pkill -9 fio 2>/dev/null || true
|
| 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_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_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_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_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_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_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 \ 326 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio \ 329 fio --name=batchjob --filename=/dev/ublkb"${dev_id}" --ioengine=io_uring \ 393 fio --name=job1 --filename=/dev/ublkb"${dev_id}" --ioengine=libaio \
|
| H A D | test_shmemzc_04.sh | 15 if ! _have_program fio; then 50 fio --name=htlb_zc_rdonly \
|
| H A D | test_shmemzc_01.sh | 15 if ! _have_program fio; then 50 fio --name=htlb_zc \
|
| 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_03.sh | 8 if ! _have_program fio; then
|
| H A D | test_loop_06.sh | 8 if ! _have_program fio; then
|
| H A D | test_loop_05.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 \
|