1. 20 10月, 2007 26 次提交
  2. 17 10月, 2007 5 次提交
  3. 16 10月, 2007 2 次提交
  4. 14 10月, 2007 1 次提交
  5. 13 10月, 2007 1 次提交
  6. 10 10月, 2007 2 次提交
  7. 25 9月, 2007 1 次提交
    • D
      raid5: fix 2 bugs in ops_complete_biofill · e4d84909
      Dan Williams 提交于
      1/ ops_complete_biofill tried to avoid calling handle_stripe since all the
      state necessary to return read completions is available.  However the
      process of determining whether more read requests are pending requires
      locking the stripe (to block add_stripe_bio from updating dev->toead).
      ops_complete_biofill can run in tasklet context, so rather than upgrading
      all the stripe locks from spin_lock to spin_lock_bh this patch just
      unconditionally reschedules handle_stripe after completing the read
      request.
      
      2/ ops_complete_biofill needlessly qualified processing R5_Wantfill with
      dev->toread.  The result being that the 'biofill' pending bit is cleared
      before handling the pending read-completions on dev->read.  R5_Wantfill can
      be unconditionally handled because the 'biofill' pending bit prevents new
      R5_Wantfill requests from being seen by ops_run_biofill and
      ops_complete_biofill.
      Found-by: NYuri Tikhonov <yur@emcraft.com>
      [neilb@suse.de: simpler fix for bug 1 than moving code]
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      e4d84909
  8. 15 9月, 2007 1 次提交
    • A
      Fix kernel buuild with (CONFIG_COMPAT && ! CONFIG_BLOCK) · 2123a09f
      aherrman@arcor.de 提交于
      Commit 02a5e0ac ("BLOCK: Hide the
      contents of linux/bio.h if CONFIG_BLOCK=n") broke the kernel build for
      the CONFIG_COMPAT && !CONFIG_BLOCK case:
      
          CC      fs/compat_ioctl.o
        In file included from include/linux/raid/md_k.h:19,
                         from include/linux/raid/md.h:54,
                         from fs/compat_ioctl.c:25:
        include/linux/raid/../../../drivers/md/dm-bio-list.h: In bio_list_:
        include/linux/raid/../../../drivers/md/dm-bio-list.h:40: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h: In bio_list_:
        include/linux/raid/../../../drivers/md/dm-bio-list.h:48: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h:51: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h: In bio_list_:
        include/linux/raid/../../../drivers/md/dm-bio-list.h:64: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h: In bio_list_merge_:
        include/linux/raid/../../../drivers/md/dm-bio-list.h:78: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h: In bio_list_:
        include/linux/raid/../../../drivers/md/dm-bio-list.h:90: error: dereferencing pointer to incomplete type
        include/linux/raid/../../../drivers/md/dm-bio-list.h:94: error: dereferencing pointer to incomplete type
        make[1]: *** [fs/compat_ioctl.o] Error 1
        make: *** [fs] Error 2
      Signed-off-by: NAndreas Herrmann <aherrman@arcor.de>
      Acked-By: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2123a09f
  9. 12 9月, 2007 1 次提交