Re: [PATCH] Btrfs: do not defrag a file partially

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Liu Bo wrote:
> xfstests 218 complains that btrfs defrags a file partially:
>  After: 1
>  Write backwards sync, but contiguous - should defrag to 1 extent
>  Before: 10
> -After: 1
> +After: 2
> 
> To fix this, we need to set max_to_defrag count properly.
> 
> Signed-off-by: Liu Bo <liubo2009@xxxxxxxxxxxxxx>

Reviewed-by: Li Zefan <lizf@xxxxxxxxxxxxxx>

> ---
>  fs/btrfs/ioctl.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux