feba13bbba
This ensures we do not end up with a racing close v. delete. If we decrement the ref up front, we could start the close process (which may include persisting metadata) and then also allow a delete operation to start. It is safer to wait until the close operation is done before decrementing the ref count, because then it will eliminate this race condition (the delete op would immediately fail). Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Iad7fd8320d2c9b56f3c4fce054bcb6271e19ad38 Reviewed-on: https://review.gerrithub.io/391493 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
.. | ||
bdev | ||
blobstore.c | ||
blobstore.h | ||
Makefile | ||
request.c | ||
request.h |