a.e.potapov@gmail.com has uploaded this change for review.

View Change

Fix hang on fd reopen when previous close fails with EBUSY

Fix hanging on starting new I/O on a file descriptor which has
previously failed to close with EBUSY. The problem was in `fd_work` not
being decremented back on early return from `close_fsal_fd`.

Fixes: #1054

Change-Id: If5a1beca1c8c52ce0db9456116eda18571eafa53
Signed-off-by: Alexey Potapov <a.e.potapov@gmail.com>
---
M src/FSAL/commonlib.c
1 file changed, 52 insertions(+), 12 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/71/1174671/1

To view, visit change 1174671. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If5a1beca1c8c52ce0db9456116eda18571eafa53
Gerrit-Change-Number: 1174671
Gerrit-PatchSet: 1
Gerrit-Owner: a.e.potapov@gmail.com