[Top] [All Lists]

Re: [PATCH 5/6 v2] ext4: Introduce FALLOC_FL_ZERO_RANGE flag for falloca

To: Lukas Czerner <lczerner@xxxxxxxxxx>
Subject: Re: [PATCH 5/6 v2] ext4: Introduce FALLOC_FL_ZERO_RANGE flag for fallocate
From: tytso@xxxxxxx
Date: Sun, 16 Mar 2014 00:13:34 -0400
Cc: linux-ext4@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=thunk.org; s=mail; t=1394943214; bh=eRPMU1vPdKdJiT92dMU8abkPwcufv6a7n8TajU7OQB4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LPNempdeU5Z8MQOWw7Nb91v1BSM1PwaVLXVKMVAUZLor+Q6xKuyx8qPqu0Hl0S25T x1zYwrfrqvUB2Ap8AQTHkgA4NM3o9KodLIsowQHd2MWi5BJfTFtfjPJmaaJZMaWlat 0bk8dGpaDDiq+MlVs2z4yuUB3Cn1kD+ByvVYJKCs=
In-reply-to: <1393355679-11160-6-git-send-email-lczerner@xxxxxxxxxx>
References: <1393355679-11160-1-git-send-email-lczerner@xxxxxxxxxx> <1393355679-11160-6-git-send-email-lczerner@xxxxxxxxxx>
User-agent: Mutt/1.5.22 (2013-10-16)
On Tue, Feb 25, 2014 at 08:14:38PM +0100, Lukas Czerner wrote:
> Introduce new FALLOC_FL_ZERO_RANGE flag for fallocate. This has the same
> functionality as xfs ioctl XFS_IOC_ZERO_RANGE.
> It can be used to convert a range of file to zeros preferably without
> issuing data IO. Blocks should be preallocated for the regions that span
> holes in the file, and the entire range is preferable converted to
> unwritten extents
> This can be also used to preallocate blocks past EOF in the same way as
> with fallocate. Flag FALLOC_FL_KEEP_SIZE which should cause the inode
> size to remain the same.
> Also add appropriate tracepoints.
> Signed-off-by: Lukas Czerner <lczerner@xxxxxxxxxx>

Thanks, applied.

                                        - Ted

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 5/6 v2] ext4: Introduce FALLOC_FL_ZERO_RANGE flag for fallocate, tytso <=