From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYwJG-0006cZ-Rc for qemu-devel@nongnu.org; Fri, 29 Jun 2018 12:31:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYwJF-0007v7-U1 for qemu-devel@nongnu.org; Fri, 29 Jun 2018 12:31:46 -0400 Date: Fri, 29 Jun 2018 18:31:36 +0200 From: Kevin Wolf Message-ID: <20180629163136.GJ15588@localhost.localdomain> References: <1529415820-7750-1-git-send-email-ari@tuxera.com> <1529415820-7750-9-git-send-email-ari@tuxera.com> <20180629120551.GF15588@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v5 8/8] block: Add blklogwrites List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ari Sundholm Cc: qemu-devel@nongnu.org, Aapo Vienamo , Max Reitz , Markus Armbruster , Eric Blake , "open list:Block layer core" Am 29.06.2018 um 18:02 hat Ari Sundholm geschrieben: > On 06/29/2018 03:05 PM, Kevin Wolf wrote: > > Am 19.06.2018 um 15:43 hat Ari Sundholm geschrieben: > > > + s->cur_log_sector = 1; > > > + s->nr_entries = 0; > > > > Would it be useful to implement a mode that appends to the log? > > > > In that case, you'd obviously use the sector size from the existing > > superblock instead of allowing the user to specify something else. > > > > Such a mode may indeed be useful. Thank you for the idea. Would it be OK to > introduce this feature as a separate patch a bit later? Yes, of course. > > > +static BlockDriver bdrv_blk_log_writes = { > > > + .format_name = "blklogwrites", > > > + .protocol_name = "blklogwrites", > > > > This is for the blklogwrites:X:Y syntax, which is not supported, so it > > should be removed. > > > > Just protocol_name, I assume? Will remove, thanks. Right, just protocol_name. format_name is always required. Kevin