r23367: check the "use mmap" option for ldb too