Re: [PATCH] Btrfs: dynamically remove unused block groups

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

 



Hello,

What happens in the event the filesystem has mostly been cleared out, but there's a few things left? For example, several of the chunks might be at very low usage, but not zero. Would the user be able to defragment the filesystem to cause these chunks to be consolidated?

Regards,

-Anthony

Yeah 2 things to keep in mind, 1 if you have snapshots you are likely
to not see
data free'd up the way you expect it. The other thing is that because
everything is COW we can't allocate the newly free'd space until the
transaction
commits, so you may have to wait ~30 seconds or run sync to force the
transaction to commit before you see your space actually free'd up. Thanks,

Josef
--
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

--
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