return more data when writing; add stats about time spent on locking between use-writer and searcher-refresh