Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934109AbZDHP2w (ORCPT ); Wed, 8 Apr 2009 11:28:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933858AbZDHP0w (ORCPT ); Wed, 8 Apr 2009 11:26:52 -0400 Received: from thunk.org ([69.25.196.29]:47150 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933855AbZDHP0v (ORCPT ); Wed, 8 Apr 2009 11:26:51 -0400 Date: Wed, 8 Apr 2009 11:26:37 -0400 From: Theodore Tso To: Jens Axboe Cc: Andrew Morton , Linux Kernel Developers List , Ext4 Developers List , jack@suse.cz Subject: Re: [PATCH] block_write_full_page: switch synchronous writes to use WRITE_SYNC_PLUG Message-ID: <20090408152637.GB14895@mit.edu> Mail-Followup-To: Theodore Tso , Jens Axboe , Andrew Morton , Linux Kernel Developers List , Ext4 Developers List , jack@suse.cz References: <20090406232141.ebdb426a.akpm@linux-foundation.org> <20090406235052.1ea47513.akpm@linux-foundation.org> <20090407070835.GM5178@kernel.dk> <20090407002313.fcdd1da0.akpm@linux-foundation.org> <20090407075732.GO5178@kernel.dk> <20090407190913.GA31723@mit.edu> <20090407193239.GE5178@kernel.dk> <20090407214421.GA7031@mit.edu> <20090407221933.GB7031@mit.edu> <20090408060033.GK5178@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090408060033.GK5178@kernel.dk> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@mit.edu X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 842 Lines: 21 On Wed, Apr 08, 2009 at 08:00:33AM +0200, Jens Axboe wrote: > > I think you should comment on why we don't need to do the actual unplug. > See what I added in fs/jbd/commit.c:journal_commit_transaction(): > > /* > * Use plugged writes here, since we want to submit several > * before we unplug the device. We don't do explicit > * unplugging in here, instead we rely on sync_buffer() doing > * the unplug for us. > */ OK, agreed. I'll add a comment explaining what is going on in the patch; better there than in the commit log. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/