RE: [RFC] pstore: Don't use persistent store for normal shutdown

From: Seiji Aguchi
Date: Tue Mar 22 2011 - 18:18:14 EST


>-----Original Message-----
>From: Luck, Tony [mailto:tony.luck@xxxxxxxxx]
>Sent: Tuesday, March 22, 2011 3:56 PM
>To: Artem Bityutskiy
>Cc: linux-kernel@xxxxxxxxxxxxxxx; Seiji Aguchi; David Woodhouse; Marco Stornelli; KOSAKI Motohiro; Andrew Morton; Linus
>Torvalds
>Subject: Re: [RFC] pstore: Don't use persistent store for normal shutdown
>
>From: Tony Luck <tony.luck@xxxxxxxxx>
>
>pstore_dump() can be called with many different "reason" codes. Save
>the name of the code in the persistent store record.
>
>Also - only worthwhile calling pstore_mkfile for KMSG_DUMP_OOPS - that
>is the only one where the kernel will continue running.
>
>Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
>

Looks good to me.

Reviewed-by: Seiji Aguchi <seiji.aguchi@xxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/