pNFS/flexfiles: Refactor encoding of the layoutreturn payload
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 2 Dec 2016 21:15:05 +0000 (16:15 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 3 Dec 2016 20:37:43 +0000 (15:37 -0500)
commit5b9b3c855a16d04d65fa7728b57143552d5d06a0
tree823250076ec04ef4ee1ab6293bc46e27c388e9ed
parent287bd3e95452e8ad945854bb98a3a7fbdc2a05c9
pNFS/flexfiles: Refactor encoding of the layoutreturn payload

Add the layout error payload to the flexfiles layoutreturn private
data, and set up the encoding mechanisms. This is a refactoring in
preparation for adding the layout iostats payload.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h
fs/nfs/flexfilelayout/flexfilelayoutdev.c