commit | d78471d32bb60837930026e11828af596fb4bdac | [log] [tgz] |
---|---|---|
author | Benjamin Coddington <bcodding@redhat.com> | Fri Dec 08 12:52:57 2017 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Sun Jan 14 23:06:29 2018 -0500 |
tree | 2737a51fd9e2cfc23afac82f9aba8361d8ed90c5 | |
parent | ad6b0241c94e2732f928ec9ef5b3561d7448c8fe [diff] |
pnfs/blocklayout: set PNFS_LAYOUTRETURN_ON_ERROR If there's an error doing I/O to block device, and the client resends the I/O to the MDS, the MDS must recall the layout from the client before processing the I/O. Let's preempt that exchange by returning the layout before falling back to the MDS when there's an error. Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>