mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 0/5: Device-Mapper bug-fixes and cleanups
@ 2004-05-26 16:52 Kevin Corry
  2004-05-26 16:58 ` [PATCH] 1/5: dm-ioctl.c: fix off-by-one error Kevin Corry
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Kevin Corry @ 2004-05-26 16:52 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML

Revision 1:
  dm-ioctl.c: Fix an OB1 error when calculating an output buffer size,
  that could cause a missing null termininator in the 'list devices'
  ioctl results.  [Steffan Paletta]

Revision 2:
  In __map_bio(), if the target returns an error while mapping the I/O, the
  cloned bio needs to be freed.

Revision 3:
  Replace dm_[add|remove]_wait_queue() with dm_wait_event().

  Some testing of DM multipath has turned up a problem with the DEVICE_WAIT
  command. In the tests, while performing a DEVICE_WAIT on a multipath device,
  the command sometimes returns immediately, even though the event-number is
  correct and no path-failure has occurred to trigger an event. The problem
  was tracked down to the call to schedule() in dev_wait(), which would return
  even though it was not woken up by a DM table event.

  This patch moves the responsibility for waiting from the ioctl interface
  into the core driver, and uses wait_event_interruptible() instead of relying
  on wait-queues and schedule().

Revision 4:
  DM: Add static and __init qualifiers. [Dave Olien]

Revision 5:
  dm-table.c: Proper usage of dm_vcalloc. [Dave Olien]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-05-26 17:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-26 16:52 [PATCH] 0/5: Device-Mapper bug-fixes and cleanups Kevin Corry
2004-05-26 16:58 ` [PATCH] 1/5: dm-ioctl.c: fix off-by-one error Kevin Corry
2004-05-26 16:58 ` [PATCH] 2/5: dm.c: free cloned bio on error path Kevin Corry
2004-05-26 16:58 ` [PATCH] 3/5: dm-ioctl: replace dm_[add|remove]_wait_queue() with dm_wait_event() Kevin Corry
2004-05-26 16:59 ` [PATCH] 4/5: dm: add static and __init qualifiers Kevin Corry
2004-05-26 16:59 ` [PATCH] 5/5: dm-table.c: proper usage of dm_vcalloc Kevin Corry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®