1. 24 Mar, 2009 2 commits
    • Jens Axboe's avatar
      block: don't create bio_vec slabs of less than the inline number · a7fcd37c
      Jens Axboe authored
      If we don't have CONFIG_BLK_DEV_INTEGRITY set, then we don't have
      any external dependencies on the bio_vec slabs. So don't create
      the ones that we will inline anyway.
      Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
      a7fcd37c
    • Ingo Molnar's avatar
      block: cleanup bio_alloc_bioset() · 34053979
      Ingo Molnar authored
      this warning (which got fixed by commit b2bf9683):
      
        fs/bio.c: In function ‘bio_alloc_bioset’:
        fs/bio.c:305: warning: ‘p’ may be used uninitialized in this function
      
      Triggered because the code flow in bio_alloc_bioset() is correct
      but a bit complex for the compiler to see through.
      
      Streamline it a bit - this also makes the code a tiny bit more compact:
      
         text	   data	    bss	    dec	    hex	filename
         7540	    256	     40	   7836	   1e9c	bio.o.before
         7539	    256	     40	   7835	   1e9b	bio.o.after
      
      Also remove an older compiler-warnings annotation from this function,
      it's not needed.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
      34053979
  2. 23 Mar, 2009 11 commits
  3. 22 Mar, 2009 6 commits
  4. 21 Mar, 2009 2 commits
  5. 20 Mar, 2009 5 commits
  6. 19 Mar, 2009 14 commits