On Fri, 20 Apr 2012 13:30:39 +0200 Paweł Brodacki <pawel.brodacki@xxxxxxxxxxxxxx> wrote: > 2012/4/19 NeilBrown <neilb@xxxxxxx>: > > On Thu, 19 Apr 2012 12:11:43 +0300 Alexander Lyakas <alex.bolshoy@xxxxxxxxx> > > wrote: > > > >> Hi Neil, > >> Thanks for the clarification. > >> However, from your commit message, it stems that during a normal > >> reboot (without -f -n), writes can still arrive after your reboot > >> notifier has cleaned the array. In such case, array might be dirty > >> after reboot. Is that so? If yes, then that's kind of regression. > > > > Why do you think that? > > > > I don't think that is the case. > > > > NeilBrown > > Hello, > > The way I read the message agrees with Alexander's perception. My > impression from reading the commit message is, that normal shutdown > may result in unclean array, which I would perceive as a regression. I don't think you'll find the word "normal" in the original message :-) > > I would really appreciate clear statement, whether this behaviour > (writeback during shutdown, with possibility of poweroff/reboot while > array is dirty) can or cannot occur during normal shutdown process. Define "normal". If you kill any processes that could generate write-out, and then do a 'sync', then everything should be fine. I suspend a "normal" shutdown sequence does this. NeilBrown > > I would bet, that only forced reboot/poweroff (reboot --force) may > result in dirty array on boot, but I'd rather not bet my data. > > Best regards, > Paweł Brodacki
Attachment:
signature.asc
Description: PGP signature