[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?)
From: |
Andreas Dilger |
Subject: |
Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?) |
Date: |
Fri, 15 Apr 2011 23:11:23 -0600 |
On 2011-04-15, at 6:50 PM, Dave Chinner <address@hidden> wrote:
> What you are suggesting is that FIEMAP needs to be page cache
> coherent, and that is far, far away from the intended use of the
> interface. Even consiering that you need to looking for active pages
> in the page cache when mapping extents say to me that you are
> doing something very wrong.
>
> Unwritten extents remain unwritten until the data is physically
> written to them. Therefore, to change their state, you need to sync
> the data covering the range.
In that case, it means cp should just always use FIEMAP_FLAG_SYNC, which is
fine.
Cheers, Andreas
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), (continued)
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Pádraig Brady, 2011/04/14
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Dave Chinner, 2011/04/14
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Jim Meyering, 2011/04/15
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Christoph Hellwig, 2011/04/15
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Eric Blake, 2011/04/15
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Christoph Hellwig, 2011/04/15
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Andreas Dilger, 2011/04/15
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Dave Chinner, 2011/04/15
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Andreas Dilger, 2011/04/15
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Dave Chinner, 2011/04/15
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?),
Andreas Dilger <=
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Theodore Tso, 2011/04/16
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Dave Chinner, 2011/04/17
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Andreas Dilger, 2011/04/17
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Yongqiang Yang, 2011/04/18
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Ted Ts'o, 2011/04/18
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Eric Sandeen, 2011/04/18
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Jim Meyering, 2011/04/21
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Yongqiang Yang, 2011/04/18
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Dave Chinner, 2011/04/19
- Re: Files full of zeros with coreutils-8.11 and xfs (FIEMAP related?), Christoph Hellwig, 2011/04/19