summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorAl Viro2016-02-14 03:01:21 +0100
committerMike Marshall2016-02-19 19:45:54 +0100
commitea2c9c9f6574e835cbc903c94b82b5a34a334866 (patch)
tree47637785f81f2e7edb746de19a7b1a3c6ccd9627 /fs/cachefiles
parentorangefs_bufmap_..._query(): don't bother with refcounts (diff)
downloadkernel-qcow2-linux-ea2c9c9f6574e835cbc903c94b82b5a34a334866.tar.gz
kernel-qcow2-linux-ea2c9c9f6574e835cbc903c94b82b5a34a334866.tar.xz
kernel-qcow2-linux-ea2c9c9f6574e835cbc903c94b82b5a34a334866.zip
orangefs: bufmap rewrite
new waiting-for-slot logics: * make request for slot wait for bufmap to be set up if it comes before it's installed *OR* while it's running down * make closing control device wait for all slots to be freed * waiting itself rewritten to (open-coded) analogues of wait_event_... primitives - we would need wait_event_locked() and, pardon an obscenely long name, wait_event_interruptible_exclusive_timeout_locked(). * we never wait for more than slot_timeout_secs in total and, if during the wait the daemon goes away, we only allow ORANGEFS_BUFMAP_WAIT_TIMEOUT_SECS for it to come back. * (cosmetical) bitmap is used instead of an array of zeroes and ones * old (and only reached if we are about to corrupt memory) waiting for daemon restart in service_operation() removed. [Martin's fixes folded] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions