1. 11 12月, 2009 2 次提交
  2. 22 6月, 2009 1 次提交
    • M
      dm raid1: keep retrying alloc if mempool_alloc failed · a72986c5
      Mikulas Patocka 提交于
      If the code can't handle allocation failures, use __GFP_NOFAIL so that
      in case of memory pressure the allocator will retry indefinitely and
      won't return NULL which would cause a crash in the function.
      
      This is still not a correct fix, it may cause a classic deadlock when
      memory manager waits for I/O being done and I/O waits for some free memory.
      I/O code shouldn't allocate any memory. But in this case it probably
      doesn't matter much in practice, people usually do not swap on RAID.
      Signed-off-by: NMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
      a72986c5
  3. 15 4月, 2009 1 次提交
  4. 22 10月, 2008 1 次提交