hammer2 - Rework the flusher
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 29 Feb 2012 08:53:55 +0000 (00:53 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 29 Feb 2012 08:56:25 +0000 (00:56 -0800)
commit73e441b99a7795a894ec06f367d9b09debb62c04
treec7d215d56ccb9da5889de7cdb73a76a79e65a596
parentdb0c2eb38aa0419f2a01f592c31ea383f50df5a3
hammer2 - Rework the flusher

* Rework the flusher to remove numerous degenerate cases which caused
  excessive re-flushing of the same block(s).

* No longer flushes the volume header on sync if the filesystem is not dirty.

* General code cleanup.

* Beginning of a work-up to implement variable logical block sizes for file
  data.  Physical blocks will always be 64K but logical blocks and block
  allocations can be any multiple of 1K.

  Currently any file > 512 bytes allocates a 64K file block, which is
  horribly space inefficient.  This will be fixed soon.
sys/vfs/hammer2/TODO
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_disk.h
sys/vfs/hammer2/hammer2_vfsops.c
sys/vfs/hammer2/hammer2_vnops.c