Home
last modified time | relevance | path

Searched refs:fio (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-verity-fec.c45 static int fec_decode_rs8(struct dm_verity *v, struct dm_verity_fec_io *fio, in fec_decode_rs8() argument
54 return decode_rs8(fio->rs, data, par, v->fec->rsn, NULL, neras, in fec_decode_rs8()
55 fio->erasures, 0, NULL); in fec_decode_rs8()
110 struct dm_verity_fec_io *fio,
113 return &fio->bufs[i][j * v->fec->rsn];
126 * Decode all RS blocks from buffers and copy corrected bytes into fio->output in fec_decode_bufs()
129 static int fec_decode_bufs(struct dm_verity *v, struct dm_verity_fec_io *fio, in fec_decode_bufs()
147 fec_for_each_buffer_rs_block(fio, n, i) { in fec_decode_bufs()
148 block = fec_buffer_rs_block(v, fio, n, i); in fec_decode_bufs()
150 res = fec_decode_rs8(v, fio, bloc in fec_decode_bufs()
105 fec_buffer_rs_block(struct dm_verity * v,struct dm_verity_fec_io * fio,unsigned int i,unsigned int j) fec_buffer_rs_block() argument
124 fec_decode_bufs(struct dm_verity * v,struct dm_verity_fec_io * fio,u64 rsb,int byte_index,unsigned int block_offset,int neras) fec_decode_bufs() argument
208 struct dm_verity_fec_io *fio = fec_io(io); fec_read_bufs() local
306 fec_alloc_bufs(struct dm_verity * v,struct dm_verity_fec_io * fio) fec_alloc_bufs() argument
346 fec_init_bufs(struct dm_verity * v,struct dm_verity_fec_io * fio) fec_init_bufs() argument
362 fec_decode_rsb(struct dm_verity * v,struct dm_verity_io * io,struct dm_verity_fec_io * fio,u64 rsb,u64 offset,bool use_erasures) fec_decode_rsb() argument
407 struct dm_verity_fec_io *fio = fec_io(io); fec_bv_copy() local
424 struct dm_verity_fec_io *fio = fec_io(io); verity_fec_decode() local
490 struct dm_verity_fec_io *fio = fec_io(io); verity_fec_finish_io() local
511 struct dm_verity_fec_io *fio = fec_io(io); verity_fec_init_io() local
[all...]
/openbmc/linux/fs/f2fs/
H A Ddata.c419 static blk_opf_t f2fs_io_flags(struct f2fs_io_info *fio) in f2fs_io_flags() argument
425 if (fio->op != REQ_OP_WRITE) in f2fs_io_flags()
427 if (fio->type == DATA) in f2fs_io_flags()
428 io_flag = fio->sbi->data_io_flag; in f2fs_io_flags()
429 else if (fio->type == NODE) in f2fs_io_flags()
430 io_flag = fio->sbi->node_io_flag; in f2fs_io_flags()
443 if (BIT(fio->temp) & meta_flag) in f2fs_io_flags()
445 if (BIT(fio->temp) & fua_flag) in f2fs_io_flags()
450 static struct bio *__bio_alloc(struct f2fs_io_info *fio, int npages) in __bio_alloc() argument
452 struct f2fs_sb_info *sbi = fio->sbi; in __bio_alloc()
[all …]
H A Dgc.c1180 struct f2fs_io_info fio = { in ra_data_block() local
1225 fio.page = page; in ra_data_block()
1226 fio.new_blkaddr = fio.old_blkaddr = dn.data_blkaddr; in ra_data_block()
1236 fio.encrypted_page = f2fs_pagecache_get_page(META_MAPPING(sbi), in ra_data_block()
1239 if (!fio.encrypted_page) { in ra_data_block()
1244 err = f2fs_submit_page_bio(&fio); in ra_data_block()
1247 f2fs_put_page(fio.encrypted_page, 0); in ra_data_block()
1255 f2fs_put_page(fio.encrypted_page, 1); in ra_data_block()
1270 struct f2fs_io_info fio = { in move_data_block() local
1286 bool lfs_mode = f2fs_lfs_mode(fio.sbi); in move_data_block()
[all …]
H A Dsegment.c3329 static int __get_segment_type_2(struct f2fs_io_info *fio) in __get_segment_type_2() argument
3331 if (fio->type == DATA) in __get_segment_type_2()
3337 static int __get_segment_type_4(struct f2fs_io_info *fio) in __get_segment_type_4() argument
3339 if (fio->type == DATA) { in __get_segment_type_4()
3340 struct inode *inode = fio->page->mapping->host; in __get_segment_type_4()
3347 if (IS_DNODE(fio->page) && is_cold_node(fio->page)) in __get_segment_type_4()
3371 static int __get_segment_type_6(struct f2fs_io_info *fio) in __get_segment_type_6() argument
3373 if (fio->type == DATA) { in __get_segment_type_6()
3374 struct inode *inode = fio->page->mapping->host; in __get_segment_type_6()
3380 if (page_private_gcing(fio->page)) { in __get_segment_type_6()
[all …]
H A Dcompress.c1239 struct f2fs_io_info fio = { in f2fs_write_compressed_pages() local
1295 err = f2fs_get_node_info(fio.sbi, dn.nid, &ni, false); in f2fs_write_compressed_pages()
1299 fio.version = ni.version; in f2fs_write_compressed_pages()
1317 fio.compressed_page = cc->cpages[i]; in f2fs_write_compressed_pages()
1319 fio.old_blkaddr = data_blkaddr(dn.inode, dn.node_page, in f2fs_write_compressed_pages()
1323 f2fs_wait_on_block_writeback(inode, fio.old_blkaddr); in f2fs_write_compressed_pages()
1325 if (fio.encrypted) { in f2fs_write_compressed_pages()
1326 fio.page = cc->rpages[i + 1]; in f2fs_write_compressed_pages()
1327 err = f2fs_encrypt_one_page(&fio); in f2fs_write_compressed_pages()
1330 cc->cpages[i] = fio.encrypted_page; in f2fs_write_compressed_pages()
[all …]
H A Dinline.c147 struct f2fs_io_info fio = { in f2fs_convert_inline_page() local
167 err = f2fs_get_node_info(fio.sbi, dn->nid, &ni, false); in f2fs_convert_inline_page()
174 fio.version = ni.version; in f2fs_convert_inline_page()
178 set_sbi_flag(fio.sbi, SBI_NEED_FSCK); in f2fs_convert_inline_page()
179 f2fs_warn(fio.sbi, "%s: corrupted inline inode ino=%lx, i_addr[0]:0x%x, run fsck to fix.", in f2fs_convert_inline_page()
181 f2fs_handle_error(fio.sbi, ERROR_INVALID_BLKADDR); in f2fs_convert_inline_page()
195 fio.old_blkaddr = dn->data_blkaddr; in f2fs_convert_inline_page()
197 f2fs_outplace_write_data(dn, &fio); in f2fs_convert_inline_page()
H A Dsegment.h754 static inline void verify_fio_blkaddr(struct f2fs_io_info *fio) in verify_fio_blkaddr() argument
756 struct f2fs_sb_info *sbi = fio->sbi; in verify_fio_blkaddr()
758 if (__is_valid_data_blkaddr(fio->old_blkaddr)) in verify_fio_blkaddr()
759 verify_blkaddr(sbi, fio->old_blkaddr, __is_meta_io(fio) ? in verify_fio_blkaddr()
761 verify_blkaddr(sbi, fio->new_blkaddr, __is_meta_io(fio) ? in verify_fio_blkaddr()
H A Dcheckpoint.c62 struct f2fs_io_info fio = { in __get_meta_page() local
75 fio.op_flags &= ~REQ_META; in __get_meta_page()
85 fio.page = page; in __get_meta_page()
87 err = f2fs_submit_page_bio(&fio); in __get_meta_page()
241 struct f2fs_io_info fio = { in f2fs_ra_meta_pages() local
254 fio.op_flags &= ~REQ_META; in f2fs_ra_meta_pages()
268 fio.new_blkaddr = current_nat_addr(sbi, in f2fs_ra_meta_pages()
275 fio.new_blkaddr = current_sit_addr(sbi, in f2fs_ra_meta_pages()
281 fio.new_blkaddr = blkno; in f2fs_ra_meta_pages()
288 fio.new_blkaddr, false); in f2fs_ra_meta_pages()
[all …]
H A Df2fs.h1231 struct f2fs_io_info fio; /* store buffered io info. */ member
3455 #define __is_meta_io(fio) (PAGE_TYPE_OF_BIO((fio)->type) == META) argument
3701 void f2fs_do_write_node_page(unsigned int nid, struct f2fs_io_info *fio);
3703 struct f2fs_io_info *fio);
3704 int f2fs_inplace_write_data(struct f2fs_io_info *fio);
3716 struct f2fs_io_info *fio);
3816 int f2fs_submit_page_bio(struct f2fs_io_info *fio);
3817 int f2fs_merge_page_bio(struct f2fs_io_info *fio);
3818 void f2fs_submit_page_write(struct f2fs_io_info *fio);
3836 int f2fs_do_write_data_page(struct f2fs_io_info *fio);
[all …]
H A Dnode.c1379 struct f2fs_io_info fio = { in read_node_page() local
1407 fio.new_blkaddr = fio.old_blkaddr = ni.blk_addr; in read_node_page()
1409 err = f2fs_submit_page_bio(&fio); in read_node_page()
1618 struct f2fs_io_info fio = { in __write_node_page() local
1683 fio.op_flags |= REQ_PREFLUSH | REQ_FUA; in __write_node_page()
1694 fio.old_blkaddr = ni.blk_addr; in __write_node_page()
1695 f2fs_do_write_node_page(nid, &fio); in __write_node_page()
1696 set_node_addr(sbi, &ni, fio.new_blkaddr, is_fsync_dnode(page)); in __write_node_page()
1712 *submitted = fio.submitted; in __write_node_page()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/fio/
H A Dfio_3.38.bb2 DESCRIPTION = "fio is an I/O tool meant to be used both for benchmark and \
5 and much more. It can work on block devices as well as files. fio accepts \
7 files are included. fio displays all sorts of I/O performance information."
8 HOMEPAGE = "http://freecode.com/projects/fio"
26 SRC_URI = "git://git.kernel.dk/fio.git;branch=master"
28 UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)"
/openbmc/linux/include/trace/events/
H A Df2fs.h1038 TP_PROTO(struct page *page, struct f2fs_io_info *fio),
1040 TP_ARGS(page, fio),
1058 __entry->old_blkaddr = fio->old_blkaddr;
1059 __entry->new_blkaddr = fio->new_blkaddr;
1060 __entry->op = fio->op;
1061 __entry->op_flags = fio->op_flags;
1062 __entry->temp = fio->temp;
1063 __entry->type = fio->type;
1079 TP_PROTO(struct page *page, struct f2fs_io_info *fio),
1081 TP_ARGS(page, fio),
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/s-suite/
H A Ds-suite_git.bb30 RDEPENDS:${PN} = "bash bc coreutils gawk g++ gcc fio libaio libaio-dev sysstat \
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Dunstriped.rst104 With the dm-unstriped target we're able to segregate an fio script that
/openbmc/linux/Documentation/core-api/
H A Dworkqueue.rst443 $ fio --filename=/dev/dm-0 --direct=1 --rw=randrw --bs=32k --ioengine=libaio \
448 makes ``fio`` generate and read back the content each time which makes
485 $ fio --filename=/dev/dm-0 --direct=1 --rw=randrw --bs=32k \
528 $ fio --filename=/dev/dm-0 --direct=1 --rw=randrw --bs=32k \
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/packagegroups/
H A Dpackagegroup-meta-oe.bb57 fio \
/openbmc/linux/Documentation/admin-guide/
H A Dbcache.rst358 But if you want to benchmark reads from cache, and you start out with fio
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]
/openbmc/linux/
H A Dopengrok1.0.log[all...]