1. 20 6月, 2017 2 次提交
  2. 18 4月, 2017 4 次提交
  3. 28 2月, 2017 1 次提交
  4. 06 12月, 2016 7 次提交
  5. 29 11月, 2016 1 次提交
  6. 01 11月, 2016 1 次提交
  7. 27 9月, 2016 1 次提交
  8. 08 6月, 2016 2 次提交
  9. 06 5月, 2016 1 次提交
  10. 04 5月, 2016 1 次提交
  11. 28 4月, 2016 5 次提交
  12. 07 1月, 2016 1 次提交
    • B
      Btrfs: use linux/sizes.h to represent constants · ee22184b
      Byongho Lee 提交于
      We use many constants to represent size and offset value.  And to make
      code readable we use '256 * 1024 * 1024' instead of '268435456' to
      represent '256MB'.  However we can make far more readable with 'SZ_256MB'
      which is defined in the 'linux/sizes.h'.
      
      So this patch replaces 'xxx * 1024 * 1024' kind of expression with
      single 'SZ_xxxMB' if 'xxx' is a power of 2 then 'xxx * SZ_1M' if 'xxx' is
      not a power of 2. And I haven't touched to '4096' & '8192' because it's
      more intuitive than 'SZ_4KB' & 'SZ_8KB'.
      Signed-off-by: NByongho Lee <bhlee.kernel@gmail.com>
      Signed-off-by: NDavid Sterba <dsterba@suse.com>
      ee22184b
  13. 03 12月, 2015 1 次提交
  14. 25 11月, 2015 1 次提交
  15. 27 10月, 2015 5 次提交
  16. 22 10月, 2015 2 次提交
  17. 14 10月, 2015 1 次提交
    • D
      btrfs: check unsupported filters in balance arguments · 8eb93459
      David Sterba 提交于
      We don't verify that all the balance filter arguments supplemented by
      the flags are actually known to the kernel. Thus we let it silently pass
      and do nothing.
      
      At the moment this means only the 'limit' filter, but we're going to add
      a few more soon so it's better to have that fixed. Also in older stable
      kernels so that it works with newer userspace tools.
      
      Cc: stable@vger.kernel.org # 3.16+
      Signed-off-by: NDavid Sterba <dsterba@suse.com>
      Signed-off-by: NChris Mason <clm@fb.com>
      8eb93459
  18. 02 10月, 2015 1 次提交
  19. 01 10月, 2015 1 次提交
    • A
      Btrfs: enhance btrfs_scratch_superblock to scratch all superblocks · 12b1c263
      Anand Jain 提交于
      This patch updates and renames btrfs_scratch_superblocks, (which is used
      by the replace device thread), with those fixes from the scratch
      superblock code section of btrfs_rm_device(). The fixes are:
        Scratch all copies of superblock
        Notify kobject that superblock has been changed
        Update time on the device
      
      So that btrfs_rm_device() can use the function
      btrfs_scratch_superblocks() instead of its own scratch code. And further
      replace deivce code which similarly releases device back to the system,
      will have the fixes from the btrfs device delete.
      Signed-off-by: NAnand Jain <anand.jain@oracle.com>
      [renamed to btrfs_scratch_superblock]
      Signed-off-by: NDavid Sterba <dsterba@suse.com>
      12b1c263
  20. 29 9月, 2015 1 次提交