1. 11 11月, 2013 1 次提交
    • K
      bcache: Refactor journalling flow control · a34a8bfd
      Kent Overstreet 提交于
      Making things less asynchronous that don't need to be - bch_journal()
      only has to block when the journal or journal entry is full, which is
      emphatically not a fast path. So make it a normal function that just
      returns when it finishes, to make the code and control flow easier to
      follow.
      Signed-off-by: NKent Overstreet <kmo@daterainc.com>
      a34a8bfd
  2. 26 3月, 2013 1 次提交
    • K
      bcache: Build fixes from test robot · 07e86ccb
      Kent Overstreet 提交于
      config: make ARCH=i386 allmodconfig
      
      All error/warnings:
      
         drivers/md/bcache/bset.c: In function 'bch_ptr_bad':
      >> drivers/md/bcache/bset.c:164:2: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat]
      --
         drivers/md/bcache/debug.c: In function 'bch_pbtree':
      >> drivers/md/bcache/debug.c:86:4: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'size_t' [-Wformat]
      --
         drivers/md/bcache/btree.c: In function 'bch_btree_read_done':
      >> drivers/md/bcache/btree.c:245:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat]
      --
         drivers/md/bcache/closure.o: In function `closure_debug_init':
      >> (.init.text+0x0): multiple definition of `init_module'
      >> drivers/md/bcache/super.o:super.c:(.init.text+0x0): first defined here
      Signed-off-by: NKent Overstreet <koverstreet@google.com>
      Cc: Fengguang Wu <fengguang.wu@intel.com>
      Cc: linux-bcache@vger.kernel.org
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      07e86ccb
  3. 24 3月, 2013 1 次提交