1. 04 11月, 2009 4 次提交
  2. 03 11月, 2009 1 次提交
  3. 02 11月, 2009 2 次提交
  4. 29 10月, 2009 2 次提交
    • C
      blkdev: flush disk cache on ->fsync · ab0a9735
      Christoph Hellwig 提交于
      Currently there is no barrier support in the block device code.  That
      means we cannot guarantee any sort of data integerity when using the
      block device node with dis kwrite caches enabled.  Using the raw block
      device node is a typical use case for virtualization (and I assume
      databases, too).  This patch changes block_fsync to issue a cache flush
      and thus make fsync on block device nodes actually useful.
      
      Note that in mainline we would also need to add such code to the
      ->aio_write method for O_SYNC handling, but assuming that Jan's patch
      series for the O_SYNC rewrite goes in it will also call into ->fsync
      for 2.6.32.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      ab0a9735
    • J
      block: move bdi/address_space unplug functions to backing-dev.h · b9d128f1
      Jens Axboe 提交于
      There's nothing block related about them, the backing device
      is used by things like NFS etc as well. This gets rid of the
      need to protect such calls by CONFIG_BLOCK.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      b9d128f1
  5. 28 10月, 2009 3 次提交
  6. 27 10月, 2009 1 次提交
  7. 26 10月, 2009 4 次提交
  8. 16 10月, 2009 15 次提交
  9. 15 10月, 2009 8 次提交