Introduce a rwlock for write operations to avoid taking lots of read locks during dump operation
Merge pull request #88 from ikehara/wholelock_for_dump

Introduce a rwlock for write operations for dump