mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Szabolcs Szakacsits <szaka-IyvsvuGDJ8VBDgjK7y7TUQ@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [RFC PATCH 2/3] raid: external and internal metadata support
Date: Sun, 8 Feb 2009 19:08:44 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090208T185018-19@post.gmane.org> (raw)
In-Reply-To: 20090206200330.GB6150@nostromo.devel.redhat.com

Bill Nottingham <notting@...> writes: 
> OK, so:
> 
> 1) kernel sends write request. If error....
> 2) <some error occurs>
> 3) kernel sends error to userspace
> 4) mdmon wakes up
> 5) mdmon decides where to record this
> 6) mdmon writes to super blocks
> 7) go to step one, hope you don't hit step 2 this time
> 
> This now means that reliable suspend and resume is completely
> impossible on RAID devices, just as it is on FUSE. 

It's not clear from the context but I suppose you mean only FUSE 
root file systems (e.g. what Ubuntu/WUBI has on NTFS via NTFS-3G).

One of the solutions is to apply the same mechanism what swapfiles 
use. That avoids user space completely. The suspend information 
go to a dynamically (userspace involved) and a statically (no 
userspace involved) allocated space on the suspend device.

Regards,  Szaka

--
NTFS-3G: http://ntfs-3g.org

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-02-08 19:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05 22:49 [RFC PATCH 0/3] mdraid rootfs support Dan Williams
     [not found] ` <20090205224808.18610.14957.stgit-p8uTFz9XbKjBPTuBivz2/GFmcEqAMTzPQQ4Iyu8u01E@public.gmane.org>
2009-02-05 22:49   ` [RFC PATCH 1/3] gen-mod-lists: create lists of modules that may talk to a root device Dan Williams
2009-02-05 22:49   ` [RFC PATCH 2/3] raid: external and internal metadata support Dan Williams
     [not found]     ` <20090205224920.18610.63979.stgit-p8uTFz9XbKjBPTuBivz2/GFmcEqAMTzPQQ4Iyu8u01E@public.gmane.org>
2009-02-06 16:40       ` Jeremy Katz
     [not found]         ` <20090206164019.GD552-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-02-06 16:50           ` Danecki, Jacek
     [not found]             ` <A9DE54D0CD747C4CB06DCE5B6FA2246F4B496AFA-IGOiFh9zz4yvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2009-02-06 16:55               ` Dan Williams
2009-02-06 16:56               ` Bill Nottingham
     [not found]                 ` <20090206165601.GF11144-Zdt1ptygihhQcNjhGXsBABcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2009-02-06 17:27                   ` Dan Williams
     [not found]                     ` <e9c3a7c20902060927j2b900940kd851573469110135-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-06 17:38                       ` Bill Nottingham
     [not found]                         ` <20090206173814.GA3541-Zdt1ptygihhQcNjhGXsBABcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2009-02-06 18:00                           ` Jacek Danecki
     [not found]                             ` <498C7AD8.6080105-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2009-02-06 19:34                               ` NeilBrown
     [not found]                                 ` <2c0cae741a7229789cd777d93180072a.squirrel-eq65iwfR9nKIECXXMXunQA@public.gmane.org>
2009-02-06 20:03                                   ` Bill Nottingham
2009-02-08 19:08                                     ` Szabolcs Szakacsits [this message]
2009-02-06 18:12                           ` Dan Williams
     [not found]                             ` <e9c3a7c20902061012w15a31e7br6ce2074b7b9db555-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-06 18:21                               ` Bill Nottingham
     [not found]                                 ` <20090206182118.GA4413-Zdt1ptygihhQcNjhGXsBABcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2009-02-06 19:19                                   ` Dan Williams
     [not found]                                     ` <e9c3a7c20902061119i2120cc5fpda0a5cdc3aedc17b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-06 20:08                                       ` Bill Nottingham
     [not found]                                         ` <20090206200818.GC6150-Zdt1ptygihhQcNjhGXsBABcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2009-02-06 20:21                                           ` NeilBrown
     [not found]                                             ` <8c48d75b834c74adc39b6e904a44237e.squirrel-eq65iwfR9nKIECXXMXunQA@public.gmane.org>
2009-02-06 20:27                                               ` Bill Nottingham
2009-02-06 20:26                                           ` Dan Williams
     [not found]                                             ` <e9c3a7c20902061226m3f1e9e55pc2986a8527ade77-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-09 20:19                                               ` Warren Togami
2009-02-08 19:16                             ` Szabolcs Szakacsits
2009-02-06 18:02           ` Dan Williams
2009-02-05 22:49   ` [RFC PATCH 3/3] add more disk id helpers to udevexe Dan Williams

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=loom.20090208T185018-19@post.gmane.org \
    --to=szaka-iyvsvugdj8vbdgjk7y7tuq@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox