linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 70121] New: Increasing efficiency of full data journaling
@ 2014-02-06 10:38 bugzilla-daemon
  2014-02-07 11:28 ` [Bug 70121] " bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: bugzilla-daemon @ 2014-02-06 10:38 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=70121

            Bug ID: 70121
           Summary: Increasing efficiency of full data journaling
           Product: File System
           Version: 2.5
    Kernel Version: 3.13.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: ext4
          Assignee: fs_ext4@kernel-bugs.osdl.org
          Reporter: sworddragon2@aol.com
        Regression: No

Full data journaling provides the ability that it is guaranteed that a file
will never be saved visible for the user in a damaged state (except a hardware
defect appears afterwards). But this has the disadvantage that the writing
througput is ~halfed as all files are written 2 times.

Here comes the idea: From a logical view to achieve this safety it is not
needed to write the file 2 times. A simple committing should achieve the same
level of safety. Here is an example: The filesystem could store a value for the
file which is reflecting its state. It is initialized as empty value indicating
the file has not successfully be written. As soon as the file has been written
it is set to 1. This would avoid writing the file 2 times and still guarantee
that the file will never be visible for te user in a damaged state on a crash
as the filesystem check would see that the file state is unequal to 1 and
correct the problem.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-03-07 20:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-06 10:38 [Bug 70121] New: Increasing efficiency of full data journaling bugzilla-daemon
2014-02-07 11:28 ` [Bug 70121] " bugzilla-daemon
2014-02-07 14:49 ` bugzilla-daemon
2014-03-05 20:37 ` [Bug 70121] New: " Phillip Susi
2014-03-05 21:48 ` [Bug 70121] " bugzilla-daemon
2014-03-06  5:28 ` bugzilla-daemon
2014-03-07 20:41   ` Phillip Susi
2014-03-06 15:34 ` bugzilla-daemon
2014-03-07  7:16 ` bugzilla-daemon
2014-03-07 13:48   ` Theodore Ts'o
2014-03-07 13:48 ` bugzilla-daemon
2014-03-07 15:42 ` bugzilla-daemon
2014-03-07 20:41 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).