hammer2 - GSOC cleanup pass
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 19 Sep 2013 04:01:45 +0000 (21:01 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 19 Sep 2013 04:01:45 +0000 (21:01 -0700)
commit1e5c08ba299894fc555357217c213ef88f06ae37
treee3091ee0849e2763195099401ec908d585dec270
parent355d67fcd81e0a7b17007d691bb00bdd151f3d28
hammer2 - GSOC cleanup pass

* Cleanup some syntax and convert // comments in core source files.
  Remove _t suffix on static compression type procedures, make a
  few variable names shorter, etc.

* Used in-memory hammer2_inode->comp_heuristic instead of the on-media
  ipdata->reserved85 field for the compression heuristic.  It doesn't
  need to be recorded on-media.

* If the write thread encounters an I/O error, flag the original logical
  bp with the error and continue rather than breaking out and killing
  the write thread.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_vfsops.c
sys/vfs/hammer2/hammer2_vnops.c