Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752851AbbDFBzZ (ORCPT ); Sun, 5 Apr 2015 21:55:25 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:36073 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752626AbbDFBzV (ORCPT ); Sun, 5 Apr 2015 21:55:21 -0400 Date: Sun, 5 Apr 2015 18:55:17 -0700 From: Brian Norris To: Richard Weinberger Cc: dwmw2@infradead.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mtd: Make MTD tests cancelable Message-ID: <20150406015517.GL2677@norris-Latitude-E6410> References: <1427658726-27068-1-git-send-email-richard@nod.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1427658726-27068-1-git-send-email-richard@nod.at> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1170 Lines: 31 On Sun, Mar 29, 2015 at 09:52:06PM +0200, Richard Weinberger wrote: > I always go nuts when I start an MTD test on a slow device > and have to wait forever until it finishes. As do I. As an additional measure, I'm tempted to add an 'ebcnt' parameter for some of the tests that don't have them, for when I want a quicker test. > From the debug output I already know what the issue is but I > have to wait or reset the board hard. > Resetting is often not an option > (remote access, you don't want lose the current state, etc...). > > The solution is easy, check for pending signals at key positions > in the code. Using that one can even stop a test by pressing CTRL-C > as insmod/modprobe have SIGINT pending. > > Signed-off-by: Richard Weinberger > --- > v2: First patch was missing two hunks from my working tree. > git commit -a vs. git commit ;-\ Awesome! Pushed to l2-mtd.git. Thanks. Brian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/