1. 04 10月, 2008 11 次提交
  2. 03 10月, 2008 8 次提交
  3. 02 10月, 2008 2 次提交
  4. 01 10月, 2008 3 次提交
    • C
      dm mpath: add missing path switching locking · 7253a334
      Chandra Seetharaman 提交于
      Moving the path activation to workqueue along with scsi_dh patches introduced
      a race. It is due to the fact that the current_pgpath (in the multipath data
      structure) can be modified if changes happen in any of the paths leading to
      the lun. If the changes lead to current_pgpath being set to NULL, then it
      leads to the invalid access which results in the panic below.
      
      This patch fixes that by storing the pgpath to activate in the multipath data
      structure and properly protecting it.
      
      Note that if activate_path is called twice in succession with different pgpath,
      with the second one being called before the first one is done, then activate
      path will be called twice for the second pgpath, which is fine.
      
      Unable to handle kernel paging request for data at address 0x00000020
      Faulting instruction address: 0xd000000000aa1844
      cpu 0x1: Vector: 300 (Data Access) at [c00000006b987a80]
          pc: d000000000aa1844: .activate_path+0x30/0x218 [dm_multipath]
          lr: c000000000087a2c: .run_workqueue+0x114/0x204
          sp: c00000006b987d00
         msr: 8000000000009032
         dar: 20
       dsisr: 40000000
        current = 0xc0000000676bb3f0
        paca    = 0xc0000000006f3680
          pid   = 2528, comm = kmpath_handlerd
      enter ? for help
      [c00000006b987da0] c000000000087a2c .run_workqueue+0x114/0x204
      [c00000006b987e40] c000000000088b58 .worker_thread+0x120/0x144
      [c00000006b987f00] c00000000008ca70 .kthread+0x78/0xc4
      [c00000006b987f90] c000000000027cc8 .kernel_thread+0x4c/0x68
      Signed-off-by: NChandra Seetharaman <sekharan@us.ibm.com>
      Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
      7253a334
    • M
      dm: cope with access beyond end of device in dm_merge_bvec · b01cd5ac
      Mikulas Patocka 提交于
      If for any reason dm_merge_bvec() is given an offset beyond the end of the
      device, avoid an oops and always allow one page to be added to an empty bio.
      We'll reject the I/O later after the bio is submitted.
      Signed-off-by: NMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
      b01cd5ac
    • M
      dm: always allow one page in dm_merge_bvec · 5037108a
      Mikulas Patocka 提交于
      Some callers assume they can always add at least one page to an empty bio,
      so dm_merge_bvec should not return 0 in this case: we'll reject the I/O
      later after the bio is submitted.
      Signed-off-by: NMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
      5037108a
  5. 30 9月, 2008 2 次提交
  6. 29 9月, 2008 3 次提交
  7. 28 9月, 2008 3 次提交
  8. 27 9月, 2008 1 次提交
  9. 26 9月, 2008 2 次提交
  10. 25 9月, 2008 1 次提交
    • L
      ath9k: disable MIB interrupts to fix interrupt storm · 92cccc2c
      Luis R. Rodriguez 提交于
      Enabling the MIB interrupts has proven to cause an
      interrupt storm after 7 hours of run. We will make use of the
      MIB interrupt once we have ANI supported added so for now
      to cure this we disable the interrupt.
      
      The interrupt storm can be seen as follows after 7 hours of run
      as reported by  Steven Noonan <steven@uplinklabs.net>:
      
      18:28:38          sum   1106.00
      18:28:39          sum   1037.62
      18:28:40          sum   1069.00
      18:28:41          sum   1167.00
      18:28:42          sum   1155.00
      18:28:43          sum   1339.00
      18:28:44          sum  18355.00
      18:28:45          sum  17845.45
      18:28:46          sum  15285.00
      18:28:47          sum  17511.00
      18:28:48          sum  17568.69
      18:28:49          sum  17704.04
      18:28:50          sum  18566.67
      18:28:51          sum  18913.13
      
      at 18:28:44 the MIB interrupt kicked off and caused huge
      latency which can be seen even on a video he submitted:
      
      http://www.youtube.com/watch?v=4GeCx1gZMpASigned-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      92cccc2c
  11. 24 9月, 2008 4 次提交