hammer2: Improve bulkfree console logging
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 18 Apr 2019 05:14:23 +0000 (22:14 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 18 Apr 2019 05:14:23 +0000 (22:14 -0700)
commitd1b65214d31d510109b8e6032e445d94270ec55d
tree0f8c1525d5399da459d5b1ebb4d82129154aa32b
parentf4482edf2475cf4a3c0d3f1526718c797330c1d4
hammer2: Improve bulkfree console logging

* Improve console logging, only print one buf= line and make the
  'pass' lines fit in 80 columns.  Improve the media coverage
  message so users are not confused.

* There is no need to allocate an excessively-large buffer when
  the bitmap for the entire media fits.  Cap the buffer size for
  this case.
sys/vfs/hammer2/hammer2_bulkfree.c