LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [git pull] device-mapper update for 2.6.25
@ 2008-02-08  2:45 Alasdair G Kergon
  2008-02-08  3:04 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Alasdair G Kergon @ 2008-02-08  2:45 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Andrew Morton, Brian Wood, Daniel Walker, Herbert Xu,
	Jonathan Brassow, Jun'ichi Nomura, Milan Broz, Paul Jimenez,
	Robert P. J. Day, Vasily Averin, dm-devel, linux-kernel

Please pull from:

  master.kernel.org:/pub/scm/linux/kernel/git/agk/linux-2.6-dm.git

to get the following device-mapper update for 2.6.25:

Alasdair G Kergon (5):
      dm: mark function lists static
      dm ioctl: remove lock_kernel
      dm: targets no longer experimental
      dm mpath: add missing static
      dm crypt: move queue functions

Andrew Morton (3):
      dm snapshot: use uninitialized_var
      dm: table use uninitialized_var
      dm ioctl: use uninitialized_var

Brian Wood (2):
      dm: stripe trigger event on failure
      dm: stripe enhanced status return

Daniel Walker (1):
      dm: convert suspend_lock semaphore to mutex

Jonathan Brassow (6):
      dm log: auto load modules
      dm raid1: handle write failures
      dm raid1: handle recovery failures
      dm raid1: fix EIO after log failure
      dm raid1: handle read failures
      dm raid1: report fault status

Jun'ichi Nomura (1):
      dm: table remove unused total

Milan Broz (23):
      dm: add missing memory barrier to dm_suspend
      dm ioctl: move compat code
      dm: tidy alloc_dev labels
      dm: refactor deferred bio_list processing
      dm: tidy dm_suspend
      dm: split dm_suspend io_lock hold into two
      dm: refactor dm_suspend completion wait
      dm crypt: move convert_context inside dm_crypt_io
      dm crypt: remove unnecessary crypt_context write parm
      dm crypt: move error setting outside crypt_dec_pending
      dm crypt: tidy crypt_endio
      dm crypt: adjust io processing functions
      dm crypt: store sector mapping in dm_crypt_io
      dm crypt: abstract crypt_write_done
      dm crypt: introduce crypt_write_io_loop
      dm crypt: tidy io ref counting
      dm crypt: extract scatterlist processing
      dm crypt: add async request mempool
      dm crypt: add completion for async
      dm crypt: prepare async callback fn
      dm crypt: use async crypto
      dm: move deferred bio flushing to workqueue
      dm snapshot: combine consecutive exceptions in memory

Paul Jimenez (1):
      dm: table use list_for_each

Robert P. J. Day (1):
      dm snapshot: use rounddown_pow_of_two

Vasily Averin (1):
      dm: table remove unused variable

 drivers/md/Kconfig              |   24 +-
 drivers/md/dm-crypt.c           |  486 +++++++++++++++++++----------
 drivers/md/dm-exception-store.c |    2 +-
 drivers/md/dm-ioctl.c           |   32 ++-
 drivers/md/dm-log.c             |   51 +++-
 drivers/md/dm-mpath.c           |    2 +-
 drivers/md/dm-raid1.c           |  664 +++++++++++++++++++++++++++++++++-----
 drivers/md/dm-snap.c            |   95 ++++--
 drivers/md/dm-snap.h            |   50 +++-
 drivers/md/dm-stripe.c          |  105 ++++++-
 drivers/md/dm-table.c           |   20 +-
 drivers/md/dm.c                 |  238 +++++++++------
 fs/compat_ioctl.c               |   34 --
 include/linux/device-mapper.h   |   18 +-
 include/linux/dm-ioctl.h        |   34 +--
 15 files changed, 1372 insertions(+), 483 deletions(-)

Alasdair
-- 
agk@redhat.com

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

* Re: [git pull] device-mapper update for 2.6.25
  2008-02-08  2:45 [git pull] device-mapper update for 2.6.25 Alasdair G Kergon
@ 2008-02-08  3:04 ` Andrew Morton
  2008-02-08  3:24   ` Alasdair G Kergon
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2008-02-08  3:04 UTC (permalink / raw)
  To: Alasdair G Kergon
  Cc: Linus Torvalds, Brian Wood, Daniel Walker, Herbert Xu,
	Jonathan Brassow, Jun'ichi Nomura, Milan Broz, Paul Jimenez,
	Robert P. J. Day, Vasily Averin, dm-devel, linux-kernel,
	Milan Broz

On Fri, 8 Feb 2008 02:45:32 +0000 Alasdair G Kergon <agk@redhat.com> wrote:

>       dm: move deferred bio flushing to workqueue

To my unpracticed eye this one looks fairly fundamental.  Unfortunately the
changelog:

  Add a single-thread workqueue for each mapped device and move flushing
  of the lists of pushback and deferred bios to this new workqueue.

tells us nothing of the reasons for this change.  (It should have done so!)

It _looks_ pretty unscalable.  Perhaps these deferred BIOs don't happen
very often?


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

* Re: [git pull] device-mapper update for 2.6.25
  2008-02-08  3:04 ` Andrew Morton
@ 2008-02-08  3:24   ` Alasdair G Kergon
  0 siblings, 0 replies; 3+ messages in thread
From: Alasdair G Kergon @ 2008-02-08  3:24 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Linus Torvalds, Brian Wood, Daniel Walker, Herbert Xu,
	Jonathan Brassow, Jun'ichi Nomura, Milan Broz, Paul Jimenez,
	Robert P. J. Day, Vasily Averin, dm-devel, linux-kernel

On Thu, Feb 07, 2008 at 07:04:47PM -0800, Andrew Morton wrote:
> On Fri, 8 Feb 2008 02:45:32 +0000 Alasdair G Kergon <agk@redhat.com> wrote:
> 
> >       dm: move deferred bio flushing to workqueue
> 
> To my unpracticed eye this one looks fairly fundamental.  Unfortunately the
> changelog:
> 
>   Add a single-thread workqueue for each mapped device and move flushing
>   of the lists of pushback and deferred bios to this new workqueue.
> 
> tells us nothing of the reasons for this change.  (It should have done so!)
> 
> It _looks_ pretty unscalable.  Perhaps these deferred BIOs don't happen
> very often?
 
Indeed - it's a rare occurrence - happens when the dm device is
suspended/resumed which usually means it was being reconfigured by something in
userspace.

It's the first patch of a series that will provide barrier support (slated for
2.6.26).

The appearance of all these workqueues in dm goes back to this old change:
  md-dm-reduce-stack-usage-with-stacked-block-devices.patch

Alasdair
-- 
agk@redhat.com

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

end of thread, other threads:[~2008-02-08  3:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-08  2:45 [git pull] device-mapper update for 2.6.25 Alasdair G Kergon
2008-02-08  3:04 ` Andrew Morton
2008-02-08  3:24   ` Alasdair G Kergon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).