summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-dma-sff.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-16 20:54:34 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-25 12:04:10 -0400
commit5521abfdcf4d67c3441d4414f29e1acd7cc43380 (patch)
treed3f2554e5f066bc45fde92f338b46e0910675bd2 /drivers/ide/ide-dma-sff.c
parent9b20614988199fb03580b335a28250922e902098 (diff)
downloadop-kernel-dev-5521abfdcf4d67c3441d4414f29e1acd7cc43380.zip
op-kernel-dev-5521abfdcf4d67c3441d4414f29e1acd7cc43380.tar.gz
NFSv4: Resend the READ/WRITE RPC call if a stateid change causes an error
Adds logic to ensure that if the server returns a BAD_STATEID, or other state related error, then we check if the stateid has already changed. If it has, then rather than start state recovery, we should just resend the failed RPC call with the new stateid. Allow nfs4_select_rw_stateid to notify that the stateid is unstable by having it return -EWOULDBLOCK if an RPC is underway that might change the stateid. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'drivers/ide/ide-dma-sff.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud