Il 05/01/2013 13:05, Kusanagi Kouichi ha scritto:
> Linux 2.6.38 introduced the filesystem independent interface to
> deallocate part of a file. As of Linux 3.7, btrfs, ext4, ocfs2,
> tmpfs and xfs support it.
>
> Signed-off-by: Kusanagi Kouichi
> ---
> block/raw-posix.c | 22 +
On Sat, Jan 05, 2013 at 09:05:10PM +0900, Kusanagi Kouichi wrote:
> @@ -1098,15 +1101,30 @@ static int xfs_discard(BDRVRawState *s, int64_t
> sector_num, int nb_sectors)
> static coroutine_fn int raw_co_discard(BlockDriverState *bs,
> int64_t sector_num, int nb_sectors)
> {
> -#ifdef CONFIG
Linux 2.6.38 introduced the filesystem independent interface to
deallocate part of a file. As of Linux 3.7, btrfs, ext4, ocfs2,
tmpfs and xfs support it.
Signed-off-by: Kusanagi Kouichi
---
block/raw-posix.c | 22 --
configure | 19 +++
2 files cha