[dm-devel] [RFC, PATCH] remove signal handling from dm-io.c, sync_io()

Alasdair G Kergon agk at redhat.com
Fri Jun 11 19:01:18 UTC 2004


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 at redhat.com



More information about the dm-devel mailing list