diff options
author | David Sterba <dsterba@suse.com> | 2017-06-12 19:50:41 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 01:26:53 +0200 |
commit | b8b3d625ce67e4d4b994ae8d09308b3ab4f651d8 (patch) | |
tree | 6518e367c8e119d3a9386af7d4cbd7b32b92d615 /fs/btrfs/extent_io.c | |
parent | 0c8508a6e7417e1bee3cb11a681184d907909549 (diff) | |
download | linux-stable-b8b3d625ce67e4d4b994ae8d09308b3ab4f651d8.tar.gz linux-stable-b8b3d625ce67e4d4b994ae8d09308b3ab4f651d8.tar.bz2 linux-stable-b8b3d625ce67e4d4b994ae8d09308b3ab4f651d8.zip |
btrfs: document more parameters of submit_extent_page
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index fecf1e5c4f97..f27bad003f8e 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2746,7 +2746,19 @@ static int __must_check submit_one_bio(struct bio *bio, int mirror_num, /* * @opf: bio REQ_OP_* and REQ_* flags as one value + * @tree: tree so we can call our merge_bio hook + * @wbc: optional writeback control for io accounting + * @page: page to add to the bio + * @pg_offset: offset of the new bio or to check whether we are adding + * a contiguous page to the previous one + * @size: portion of page that we want to write + * @offset: starting offset in the page + * @bdev: attach newly created bios to this bdev * @bio_ret: must be valid pointer, newly allocated bio will be stored there + * @end_io_func: end_io callback for new bio + * @mirror_num: desired mirror to read/write + * @prev_bio_flags: flags of previous bio to see if we can merge the current one + * @bio_flags: flags of the current bio to see if we can merge them */ static int submit_extent_page(unsigned int opf, struct extent_io_tree *tree, struct writeback_control *wbc, |