Return-Path:
Received: from fieldses.org ([173.255.197.46]:50380 "EHLO fieldses.org"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
id S1750827AbdAXWPf (ORCPT );
Tue, 24 Jan 2017 17:15:35 -0500
Date: Tue, 24 Jan 2017 17:15:33 -0500
From: Bruce Fields
To: "Mkrtchyan, Tigran"
Cc: Christoph Hellwig , trondmy@primarydata.com,
linux-nfs@vger.kernel.org, jlayton@poochiereds.net
Subject: Re: [PATCH v2] nfsd: special case truncates some more
Message-ID: <20170124221533.GG20844@fieldses.org>
References:
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To:
Sender: linux-nfs-owner@vger.kernel.org
List-ID:
On Tue, Jan 24, 2017 at 11:11:49PM +0100, Mkrtchyan, Tigran wrote:
>
> /*
>
> * The size case is special, it changes the file in addition to the
>
> - * attributes.
>
> + * attributes, and file systems don't expect it to be mixed with
>
> + * "random" attribute changes. We thus split out the size change
>
> + * into a separate calo for vfs_truncate, and do the rest
I guess by **calo** you mean **call**.
Tigran.