From: Jan Kara Subject: Re: [PATCH 01/11] ext4: Factor out checks from ext4_file_write_iter() Date: Fri, 4 Nov 2016 05:20:03 +0100 Message-ID: <20161104042003.GN24234@quack2.suse.cz> References: <1478034381-19037-1-git-send-email-jack@suse.cz> <1478034381-19037-2-git-send-email-jack@suse.cz> <20161103210440.GA27351@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Jan Kara , linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org, Dave Chinner , linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Ted Tso , linux-ext4-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ross Zwisler Return-path: Content-Disposition: inline In-Reply-To: <20161103210440.GA27351-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" List-Id: linux-ext4.vger.kernel.org On Thu 03-11-16 15:04:40, Ross Zwisler wrote: > On Tue, Nov 01, 2016 at 10:06:11PM +0100, Jan Kara wrote: > > + /* > > + * 'err==len' means that all of blocks has been preallocated no matter > > + * they are initialized or not. For excluding unwritten extents, we > > + * need to check m_flags. > > Does it make sense to clean up this comment, since you're moving it anyway? > > i.e.: > > 'err==len' means that all of the blocks have been preallocated, regardless > of whether they have been initialized or not. To exclude unwritten extents > we need to check m_flags. OK, done. Thanks! Honza -- Jan Kara SUSE Labs, CR