Commit 6f7f8ef7 authored by Guoqing Jiang's avatar Guoqing Jiang Committed by Jonathan Corbet

docs: block/biovecs: update the location of bio.c

Replace fs with block since bio.c had been moved to block folder.
Signed-off-by: default avatarGuoqing Jiang <guoqing.jiang@cloud.ionos.com>
Link: https://lore.kernel.org/r/20200106103735.10327-1-guoqing.jiang@cloud.ionos.comSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 19a602b7
...@@ -47,7 +47,7 @@ Having a real iterator, and making biovecs immutable, has a number of ...@@ -47,7 +47,7 @@ Having a real iterator, and making biovecs immutable, has a number of
advantages: advantages:
* Before, iterating over bios was very awkward when you weren't processing * Before, iterating over bios was very awkward when you weren't processing
exactly one bvec at a time - for example, bio_copy_data() in fs/bio.c, exactly one bvec at a time - for example, bio_copy_data() in block/bio.c,
which copies the contents of one bio into another. Because the biovecs which copies the contents of one bio into another. Because the biovecs
wouldn't necessarily be the same size, the old code was tricky convoluted - wouldn't necessarily be the same size, the old code was tricky convoluted -
it had to walk two different bios at the same time, keeping both bi_idx and it had to walk two different bios at the same time, keeping both bi_idx and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment