All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 16223] New: ext4 in data=journal mode does not support delayed allocation
Date: Wed, 16 Jun 2010 00:18:02 GMT	[thread overview]
Message-ID: <bug-16223-13602@https.bugzilla.kernel.org/> (raw)

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

           Summary: ext4 in data=journal mode does not support delayed
                    allocation
           Product: File System
           Version: 2.5
    Kernel Version: 2.6.34
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
        AssignedTo: fs_ext4@kernel-bugs.osdl.org
        ReportedBy: theosib@gmail.com
        Regression: No


Perhaps you could argue that someone using data=journal mode doesn't care about
write performance, but that would not necessarily be the case.  It would be
really nice if I could use ext4 with data journaling AND get delayed
allocation.  I'm just mentioning this because I'm probably not the only one out
there with this feeling.  In fact, I know I'm not because I've seen the
question asked in forums.

I suspect it might be nontrivial to modify the journaling system so that you
can write data to the journal that has not yet been allocated a location on the
disk, but it seems to me that's basically what you'd have to do.  (Otherwise it
wouldn't be DELAYED allocation, and we need data to hit the journal before it
hits the fs proper.)  Data would be written to the journal, then when it's
going to be committed to the fs, it would be allocated (and that fact added to
the journal?).  If the system goes down, and a journal replay is required, then
the data would be allocated space at that time.  One thing to be concerned
about is having an allocation happen, the data not written to where it's
allocated, and the allocation not logged in the journal--on replay, you might
allocate yet more space for the data, and you'd need some means to recover the
first allocation that's now bogus.

Thanks.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

             reply	other threads:[~2010-06-16  0:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-16  0:18 bugzilla-daemon [this message]
2012-07-20 13:05 ` [Bug 16223] ext4 in data=journal mode does not support delayed allocation bugzilla-daemon
2012-07-20 13:56 ` bugzilla-daemon
2012-07-20 14:01 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-16223-13602@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.