On Thu, May 21, 2015 at 02:29:10PM +0800, Eryu Guan wrote: > On Wed, May 20, 2015 at 10:09:59AM -0400, Josef Bacik wrote: > > There was some confused about what the fs was supposed to do when you truncate > > at i_size with preallocated space past i_size. We decided on the following > > things > > > > 1) truncate(i_size) will trim all blocks past i_size. > > 2) truncate(x) where x > i_size will not trim all blocks past i_size. > > > > This test is to make sure we're all acting sanely. Thanks, > > > > Signed-off-by: Josef Bacik <jbacik@xxxxxx> > > --- > > V1->V2: > > -changed the test number > > -fixed up minor comments from Eryu. ..... > > index 927a91a..a801af4 100644 > > --- a/tests/generic/group > > +++ b/tests/generic/group > > @@ -90,6 +90,7 @@ > > 085 auto freeze mount > > 086 auto prealloc preallocrw quick > > 088 perms auto quick > > +087 auto quick prealloc > > out-of-order seq here. Otherwise looks good to me. I'll fix that on merge. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html