hammer2 - Fix *errorp, instrument strategy errors
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Jun 2016 02:46:08 +0000 (19:46 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Jun 2016 02:50:58 +0000 (19:50 -0700)
commitf207acf3218304e1686b3f24f2a06beed598b8fa
tree5515e0d9636135b9fd62aa40b54f5bff0e940afd
parent52e79afa220a5440118e2cf98fb291a87463b1cd
hammer2 - Fix *errorp, instrument strategy errors

* Instrument strategy call errors

* Instrument a number of errors with console messages

* Pre-zero *errorp in hammer2_write_file_core()

* Set trivial in hammer2_write_file() if lbase at or beyond the file EOF.

* use uiomovebp() to avoid mmap()/read() and mmap()/write() deadlocks.
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_io.c
sys/vfs/hammer2/hammer2_strategy.c
sys/vfs/hammer2/hammer2_vnops.c