hammer2 - work on bmap->avail tracking, fix DIO issue w/block reuse
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 29 Jan 2015 18:21:46 +0000 (10:21 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 29 Jan 2015 18:21:46 +0000 (10:21 -0800)
commit271568b17008871f333ec935d8d76c8d92083592
tree8d0e2002317f177e8d91cf7fe0a9aefd83c001d4
parenta7ac1ee9734c26ee5673ec1efae477596f093d6f
hammer2 - work on bmap->avail tracking, fix DIO issue w/block reuse

* Start working on tracking bmap->avail in a way that the bulkfree
  code can undo.

* DIO was allowing mixed 16/64K buffers, but bulkfree doesn't invalidate
  cached DIOs and the re-use case might want a larger buffer.  For now
  deal with it by just having DIO use 64K buffers.
sys/vfs/hammer2/hammer2_bulkscan.c
sys/vfs/hammer2/hammer2_freemap.c
sys/vfs/hammer2/hammer2_io.c