1SUBMIT_BIO(9) Block Devices SUBMIT_BIO(9)
2
3
4
6 submit_bio - submit a bio to the block device layer for I/O
7
9 void submit_bio(int rw, struct bio * bio);
10
12 rw
13 whether to READ or WRITE, or maybe to READA (read ahead)
14
15 bio
16 The struct bio which describes the I/O
17
19 submit_bio is very similar in purpose to generic_make_request, and uses
20 that function to do most of the work. Both are fairly rough interfaces;
21 bio must be presetup and ready for I/O.
22
24Kernel Hackers Manual 3.10 June 2019 SUBMIT_BIO(9)