From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1E273S-0002Fu-2c for mharc-grub-devel@gnu.org; Mon, 08 Aug 2005 08:48:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E26xn-0007kF-AU for grub-devel@gnu.org; Mon, 08 Aug 2005 08:42:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E26xc-0007c5-8Q for grub-devel@gnu.org; Mon, 08 Aug 2005 08:42:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E26xZ-0007SW-5q for grub-devel@gnu.org; Mon, 08 Aug 2005 08:42:29 -0400 Received: from [64.233.184.205] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E26wn-0002En-U8 for grub-devel@gnu.org; Mon, 08 Aug 2005 08:41:42 -0400 Received: by wproxy.gmail.com with SMTP id i3so1018695wra for ; Mon, 08 Aug 2005 05:27:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:disposition-notification-to:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=SG16LDlFAm9TWRbkhRjcOviSb6seXB/0PeAHFVXcpHhIzUIbfZPDjlhO3LbJ+1oCQ0PEAzBCe+BTWJMCwxxBtrU4xidDS7pY2iG0zpsYAvmoW3VDq3GV7lvmXcWsE+SWp0OmWje8WyqBBGc+0mTX77CVeWh3to2GyQmiSNUj5zI= Received: by 10.54.4.8 with SMTP id 8mr4850186wrd; Mon, 08 Aug 2005 05:27:33 -0700 (PDT) Received: from ?192.168.1.100? ([83.77.10.7]) by mx.gmail.com with ESMTP id d61sm5234485wra.2005.08.08.05.27.29; Mon, 08 Aug 2005 05:27:33 -0700 (PDT) Message-ID: <42F74FAF.8020005@gmail.com> Date: Mon, 08 Aug 2005 14:27:27 +0200 From: Vladimir Serbinenko User-Agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <42F72A1A.3090605@gmail.com> <87fytkfy6l.fsf@student.han.nl> In-Reply-To: <87fytkfy6l.fsf@student.han.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [DISCUSSION] Journal playback X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 12:48:32 -0000 Marco Gerards wrote: >Vladimir Serbinenko writes: > > > >>I've seen that journal playback is one of TODO items. I think it's bad >>idea because: >> >>1) It'll increase the size of FS modules. And fs modules are often embed >>in core image. So their size is critical >> >> > >The size of a filesystem module is now about 4KB. We do not know yet >how much the size will increase when journaling is possible. > > > >>2) It'll decrease safety because now GRUB doesn't write to FS and then >>it'll be so the GRUB's bugs could damage FS. >>3) It'll be impossible to use resume/resume2 because the fs environment >>is not more the same as at the hibernation. >> >> > >The data should not be written to the filesystem. Instead the >journal should be played back for the data that is read. I am not yet >sure if it is possible, easy and fast enough. But I do think it is >worthwhile to consider journaling support. > > > It'll give for sure considerable amount of work but the question if it'll give real advantages? Journaling was made to keep *FS* from the corruption. *Not* the data. So even if data needed by GRUB is corrupted (that is not very probable because kernels, initrds and GRUB data) there is a high probability that journaling will simply remove this corrupted data. On the other hand it can perhaps create strange bugs and make maintnaining harde Vladimir