From: Theodore Ts'o <tytso@mit.edu>
To: "Lukáš Czerner" <lczerner@redhat.com>
Cc: Josef Bacik <jbacik@fb.com>, linux-ext4@vger.kernel.org
Subject: Re: [PATCH] ext4: only call ext4_truncate when size <= isize
Date: Tue, 9 Jun 2015 12:07:39 -0400 [thread overview]
Message-ID: <20150609160739.GT19168@thunk.org> (raw)
In-Reply-To: <20150606202011.GC15306@thunk.org>
On Sat, Jun 06, 2015 at 04:20:11PM -0400, Theodore Ts'o wrote:
> On Tue, Jun 02, 2015 at 10:08:18AM +0200, Lukáš Czerner wrote:
> > On Tue, 19 May 2015, Josef Bacik wrote:
> >
> > > Date: Tue, 19 May 2015 11:28:57 -0400
> > > From: Josef Bacik <jbacik@fb.com>
> > > To: tytso@mit.edu, linux-ext4@vger.kernel.org
> > > Subject: [PATCH] ext4: only call ext4_truncate when size <= isize
> > >
> > > At LSF we decided that if we truncate up from isize we shouldn't trim fallocated
> > > blocks that were fallocated with KEEP_SIZE and are past the new i_size. This
> > > patch fixes ext4 to do this. Thanks,
> >
> > Looks good, thanks!
> >
> > Reviewed-by: Lukas Czerner <lczerner@redhat.com>
>
> Applied, thanks.
Unfortunately this patch is causing generic/239 to fail when run with
1k blocksizes.
I'm dropping this for now; could you take a look?
Thanks!
- Ted
generic/239 22s ... [11:46:25] [11:46:54] 29s
_check_generic_filesystem: filesystem on /dev/vdd is inconsistent (see /results/results-1k/generic/239.full)
Ran: generic/239
Failures: generic/239
Failed 1 of 1 tests
e2fsck 1.43-WIP (18-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Inode 12, i_size is 0, should be 4096. Fix? yes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/vdd: ***** FILE SYSTEM WAS MODIFIED *****
/dev/vdd: 12/327680 files (0.0% non-contiguous), 120145/5242880 blocks
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-06-09 16:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 15:28 [PATCH] ext4: only call ext4_truncate when size <= isize Josef Bacik
2015-06-02 8:08 ` Lukáš Czerner
2015-06-06 20:20 ` Theodore Ts'o
2015-06-09 16:07 ` Theodore Ts'o [this message]
2015-06-22 4:37 ` Theodore Ts'o
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150609160739.GT19168@thunk.org \
--to=tytso@mit.edu \
--cc=jbacik@fb.com \
--cc=lczerner@redhat.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.