diff options
author | Fred Isaman | 2011-01-06 12:36:25 +0100 |
---|---|---|
committer | Trond Myklebust | 2011-01-06 20:46:31 +0100 |
commit | cf7d63f1f9895713551df2e6d18b006f8af26e91 (patch) | |
tree | fc3dbfc12332878a832c11b5ae47ff259bb1bc32 /fs/logfs | |
parent | pnfs: layoutget rpc code cleanup (diff) | |
download | kernel-qcow2-linux-cf7d63f1f9895713551df2e6d18b006f8af26e91.tar.gz kernel-qcow2-linux-cf7d63f1f9895713551df2e6d18b006f8af26e91.tar.xz kernel-qcow2-linux-cf7d63f1f9895713551df2e6d18b006f8af26e91.zip |
pnfs: serialize LAYOUTGET(openstateid)
We shouldn't send a LAYOUTGET(openstateid) unless all outstanding RPCs
using the previous stateid are completed. This requires choosing the
stateid to encode earlier, so we can abort if one is not available (we
want to use the open stateid, but a LAYOUTGET is already out using
it), and adding a count of the number of outstanding rpc calls using
layout state (which for now consist solely of LAYOUTGETs).
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/logfs')
0 files changed, 0 insertions, 0 deletions