xfs
[Top] [All Lists]

Re: [PATCH 36/47] xfs: convert unwritten status of reverse mappings

To: "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>
Subject: Re: [PATCH 36/47] xfs: convert unwritten status of reverse mappings
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 3 Aug 2016 12:00:39 +1000
Cc: linux-fsdevel@xxxxxxxxxxxxxxx, vishal.l.verma@xxxxxxxxx, bfoster@xxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <146907720267.25461.12865808398854547794.stgit@xxxxxxxxxxxxxxxx>
References: <146907695530.25461.3225785294902719773.stgit@xxxxxxxxxxxxxxxx> <146907720267.25461.12865808398854547794.stgit@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, Jul 20, 2016 at 10:00:02PM -0700, Darrick J. Wong wrote:
> Provide a function to convert an unwritten extent to a real one and
> vice versa.
> 
> v2: Move unwritten bit to rm_offset.
> 
> v3: Fix a bug where we touched the wrong btree_irec field due to a
> stupid cut-and-paste error.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

I've added a comment to the commit message that the algorithm and
code structure has been derived from
xfs_bmap_add_extent_unwritten_real(). It looks to be correct.

-Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 36/47] xfs: convert unwritten status of reverse mappings, Dave Chinner <=