Re: [PATCH 11/24] xfs: remove xfs_map_cow

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

 



On Tue, Jun 19, 2018 at 06:53:03PM +0200, Christoph Hellwig wrote:
> On Mon, Jun 18, 2018 at 10:35:37PM -0700, Darrick J. Wong wrote:
> > > A comment would be nice here just so the purpose of the logic is clear
> > > at a glance. E.g:
> > > 
> > >                 /*
> > >                  * COW fork blocks can overlap data fork blocks even if the
> > >                  * blocks aren't shared. COW I/O always takes precedent, so we
> > >                  * must always check for overlap on reflink inodes unless the
> > >                  * mapping is already COW.
> > >                  */
> > > 
> > > With something like that, this now looks pretty good to me:
> > > 
> > > Reviewed-by: Brian Foster <bfoster@xxxxxxxxxx>
> > 
> > I concur, it would help to have a comment to remind everyone that we
> > sometimes upgrade to a cow write even when it's not strictly required.
> > :)
> > 
> > With that comment added in,
> 
> Do you just want to throw it after the series?  Or should I or Brian
> resend it on top of the series?

I just stuck it in the patch and had it follow the code in the
subsequent reorganizations.  Testing is running now...

--D



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux