diff options
| author | NeilBrown <[email protected]> | 2018-02-20 13:23:38 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-02-22 15:06:36 +0100 |
| commit | 52edc44ffbd05a3f6f6a8db2b07e2d3c6cb81db3 (patch) | |
| tree | 503e0637be7a0d11d11d7c765ed7ed1759a7facd /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 5955572b19f64bdaddd778079f95fb3cafaadfda (diff) | |
staging: lustre: socklnd: simplify ksnc_rx_iov_space
ksnc_rx_iov_space is currently a union of two arrays,
one of 'struct kvec', the other of 'struct bio_vec'.
The 'struct bio_vec' option is never used. The
array of kvec is used to read in a packet header, or
to read data that needs to be skipped so as to synchronize
with a packet boundary.
In each case the target memory location is a virtual address,
never a page, so 'struct bio_vec' is never needed.
When we read into a page, different code steps up a separate
array of 'struct bio_vec'.
So remove the bio_vec option, and remove the union ksock_rxiovspace..
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions