xfs
[Top] [All Lists]

Re: [PATCH 2/2] ext4: Fix mmap data corruption when blocksize < pagesize

To: Jan Kara <jack@xxxxxxx>
Subject: Re: [PATCH 2/2] ext4: Fix mmap data corruption when blocksize < pagesize
From: Theodore Ts'o <tytso@xxxxxxx>
Date: Wed, 1 Oct 2014 22:06:33 -0400
Cc: linux-fsdevel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, Dave Chinner <david@xxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=X9CM0OmQQDFou1fvUcqOdAjoi/GA4mnPuznxoWLcnqQ=; b=DXNCQpy6j1ySCKSq8g0OZAUGbumN79BBI3nyJ6yOnEzUE0CBRE/0Vzzhz5ufSGRHnu4fxw6vmjg2cR0v5m3J37alaEhCUfjnBPw7xOUkB+iDjHnchktPKC8fhQ+mTofaXI+TRH0OC3EJuippYj2v4v1Z8EHUh5Cf7kJxXfpmehI=;
In-reply-to: <1411648916-16773-3-git-send-email-jack@xxxxxxx>
References: <1411648916-16773-1-git-send-email-jack@xxxxxxx> <1411648916-16773-3-git-send-email-jack@xxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
On Thu, Sep 25, 2014 at 02:41:56PM +0200, Jan Kara wrote:
> Use truncate_isize_extended() when hole is being created in a file so that
> ->page_mkwrite() will get called for the partial tail page if it is
> mmaped (see the first patch in the series for details).
> 
> Signed-off-by: Jan Kara <jack@xxxxxxx>

Applied to the ext4 tree, thanks.

                                        - Ted

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 2/2] ext4: Fix mmap data corruption when blocksize < pagesize, Theodore Ts'o <=