1. 12 11月, 2013 3 次提交
  2. 05 10月, 2013 1 次提交
  3. 21 9月, 2013 1 次提交
  4. 01 9月, 2013 2 次提交
  5. 15 7月, 2013 1 次提交
  6. 14 6月, 2013 2 次提交
  7. 18 5月, 2013 1 次提交
    • S
      Btrfs: don't allow device replace on RAID5/RAID6 · 49688107
      Stefan Behrens 提交于
      This is not yet supported and causes crashes. One sad user reported
      that it destroyed his filesystem.
      
      One failure is in __btrfs_map_block+0xc1f calling kmalloc(0).
      
      0x5f21f is in __btrfs_map_block (fs/btrfs/volumes.c:4923).
      4918                            num_stripes = map->num_stripes;
      4919                            max_errors = nr_parity_stripes(map);
      4920
      4921                            raid_map = kmalloc(sizeof(u64) * num_stripes,
      4922                                               GFP_NOFS);
      4923                            if (!raid_map) {
      4924                                    ret = -ENOMEM;
      4925                                    goto out;
      4926                            }
      4927
      
      There might be more issues. Until this is really tested, don't allow
      users to start the procedure on RAID5/RAID6 filesystems.
      Signed-off-by: NStefan Behrens <sbehrens@giantdisaster.de>
      Signed-off-by: NJosef Bacik <jbacik@fusionio.com>
      49688107
  8. 20 2月, 2013 1 次提交
  9. 13 12月, 2012 1 次提交