numam-spdk/lib/blobfs
Jim Harris 59ed2aa9f6 blobfs: lock accesses to sync fs_request list
Synchronous blobfs channels may allocate requests from
the synchronous thread, but free the request from the
async thread - especially for code that is shared between
sync and async modes.  So add a lock to the request list
for sync channels only.

Note this only affects metadata path (i.e. sync, delete, open)
and not I/O path.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I932c500807c2f459c697fab2ffd91a88b88b0c87

Reviewed-on: https://review.gerrithub.io/362964
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-06-01 13:18:26 -04:00
..
blobfs_internal.h blobfs: separate cache tree related definitions into tree.h 2017-05-04 09:11:28 -07:00
blobfs.c blobfs: lock accesses to sync fs_request list 2017-06-01 13:18:26 -04:00
Makefile blobfs: Add a lightweight filesystem built on the blobstore 2017-03-24 14:15:45 -07:00
tree.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
tree.h blobfs: separate cache tree related definitions into tree.h 2017-05-04 09:11:28 -07:00