Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1628152
| From | Christoph Hellwig <hch@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 07/11] pktcdvd: use bio_clone_fast() instead of bio_clone() |
| Date | 2017-04-21 13:30 +0200 |
| Message-ID | <tyEVb-5ck-7@gated-at.bofh.it> (permalink) |
| References | <tyd8C-4Wq-7@gated-at.bofh.it> <tyd8D-4Wq-41@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Apr 20, 2017 at 03:38:49PM +1000, NeilBrown wrote: > pktcdvd doesn't change the bi_io_vec of the clone bio, > so it is more efficient to use bio_clone_fast(), and not clone > the bi_io_vec. > This requires providing a bio_set, and it is safest to > provide a dedicated bio_set rather than sharing > fs_bio_set, which filesytems use. > This new bio_set, pkt_bio_set, can also be use for the bio_split() > call as the two allocations (bio_clone_fast, and bio_split) are > independent, neither can block a bio allocated by the other. Looks fine: Reviewed-by: Christoph Hellwig <hch@lst.de> But didn't we decide we want to kill off pktcdvd a while ago?
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 07/11] pktcdvd: use bio_clone_fast() instead of bio_clone() NeilBrown <neilb@suse.com> - 2017-04-20 07:50 +0200 Re: [PATCH 07/11] pktcdvd: use bio_clone_fast() instead of bio_clone() Christoph Hellwig <hch@infradead.org> - 2017-04-21 13:30 +0200
csiph-web