diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-01-03 15:38:09 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-01-23 09:44:38 -0500 |
commit | aae2349c49198e5dc7376519201cb4647a902e0f (patch) | |
tree | efe1dc13245079333d10ce078e1d424ab337d42a /scripts/gcc-plugins/sancov_plugin.c | |
parent | ae7246762530af00109c3fb8a30031da054c0aa0 (diff) |
xprtrdma: Fix "bytes registered" accounting
The contents of seg->mr_len changed when ->ro_map stopped returning
the full chunk length in the first segment. Count the full length of
each Write chunk, not the length of the first segment (which now can
only be as large as a page).
Fixes: 9d6b04097882 ("xprtrdma: Place registered MWs on a ... ")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions