diff options
| author | Andy Adamson <andros@netapp.com> | 2012-06-20 15:03:34 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-16 14:39:00 -0400 |
| commit | 293b3b065c5ec5d15c3087ca42a52c991d7d8235 (patch) | |
| tree | 32b9422aa2d097af2618d225b925535b75492ee0 /tools/perf/scripts/python | |
| parent | NFSv4.1 mark layout when already returned (diff) | |
| download | linux-293b3b065c5ec5d15c3087ca42a52c991d7d8235.tar.gz linux-293b3b065c5ec5d15c3087ca42a52c991d7d8235.zip | |
NFSv4.1 do not send LAYOUTRETURN on emtpy plh_segs list
mark_matching_lsegs_invalid() resets the mds_threshold counters and can
dereference the layout hdr on an initial empty plh_segs list. It returns 0 both
in the case of an initial empty list and in a non-emtpy list that was cleared
by calls to mark_lseg_invalid.
Don't send a LAYOUTRETURN if the list was initially empty.
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
