OSDN Git Service

pnfs: lookup new lseg at lseg boundary
authorWeston Andros Adamson <dros@primarydata.com>
Fri, 30 Jan 2015 16:01:02 +0000 (11:01 -0500)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:54 +0000 (11:06 -0800)
commit7c13789e3e6c66dbcaade1760087429240eb3d27
tree3d546df6c9feb8e79fc9e9575343d47e879ee507
parentcb5d04bc39e914124e811ea55f3034d2379a5f6c
pnfs: lookup new lseg at lseg boundary

Before mirroring support was added, the pageio descriptor's pg_lseg was
set to null when an RPC was sent. Because of this, pg_init was called
at lseg boundaries with pg_lseg = NULL, and it could be set to the new
lseg.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
fs/nfs/pnfs.c