[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [RFC, PATCH] remove signal handling from dm-io.c, sync_io()
- From: Alasdair G Kergon <agk redhat com>
- To: Kevin Corry <kevcorry us ibm com>
- Cc: dm-devel sistina com, Dave Olien <dmo osdl org>
- Subject: Re: [dm-devel] [RFC, PATCH] remove signal handling from dm-io.c, sync_io()
- Date: Fri, 11 Jun 2004 20:01:18 +0100
On Thu, Jun 10, 2004 at 05:30:31PM +0000, Kevin Corry wrote:
> And while we're in there hacking up that routine, we should probably add
> proper error handling instead of just using BUG_ON() in the event someone
> tries to read from multiple regions.
At present, the num_regions parameter is not allowed to exceed 1 when
reading. If it does, that should show up clearly as a coding error.
Prefer WARN_ON() ?
Alasdair
--
agk redhat com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]