Skip to content
  1. Dec 08, 2011
  2. Dec 07, 2011
  3. Dec 06, 2011
  4. Dec 05, 2011
  5. Dec 03, 2011
  6. Dec 02, 2011
  7. Dec 01, 2011
    • Jan Schmidt's avatar
      Btrfs: fix meta data raid-repair merge problem · f4a8e656
      Jan Schmidt authored
      Commit 4a54c8c1 introduced raid-repair, killing the individual
      readpage_io_failed_hook entries from inode.c and disk-io.c. Commit
      4bb31e92
      
       introduced new readahead code, adding a readpage_io_failed_hook to
      disk-io.c.
      
      The raid-repair commit had logic to disable raid-repair, if
      readpage_io_failed_hook is set. Thus, the readahead commit effectively
      disabled raid-repair for meta data.
      
      This commit changes the logic to always attempt raid-repair when needed and
      call the readpage_io_failed_hook in case raid-repair fails. This is much
      more straight forward and should have been like that from the beginning.
      
      Signed-off-by: default avatarJan Schmidt <list.btrfs@jan-o-sch.net>
      Reported-by: default avatarStefan Behrens <sbehrens@giantdisaster.de>
      Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
      f4a8e656
    • Shawn Guo's avatar
      arm/imx: fix irq_base for gpio · 04aafd71
      Shawn Guo authored
      
      
      When gpio core dynamically allocate gpio number for a port, it starts
      from the end of the total range, 0 ~ ARCH_NR_GPIOS.  That said, the
      earlier a port gets probed, the bigger gpio number it gets assigned.
      To match this, the irq_base for gpio should be assigned from
      'MXC_GPIO_IRQ_START + ARCH_NR_GPIOS' decreasingly.
      
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      04aafd71
    • Shawn Guo's avatar
      arm/imx: fix return type of callback passed to of_irq_init() · 2a3267a4
      Shawn Guo authored
      
      
      The of_irq_init() expects the callback passed by .data of of_device_id
      return 'int' instead of 'void'.  This patch fixes it to have
      irq_init_cb() return the correct value, and in turn have the secondary
      interrupt controller (gpio in this case) initialized properly and also
      eliminate the error message 'of_irq_init: children remain, but no
      parents' which was overlooked before.
      
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      2a3267a4