LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PULL] NBD patches for 4.1
@ 2015-04-02  8:11 Markus Pargmann
  2015-04-02  8:11 ` [PATCH 1/9] Documentation: nbd: Reformat to allow more documentation Markus Pargmann
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: Markus Pargmann @ 2015-04-02  8:11 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel, nbd-general, kernel, Markus Pargmann

Hi Jens,

This pull request contains some NBD cleanups.

The documentation was updated to be extensible for future features and the
module parameters were added.

NBD had an internal header located at include/linux/nbd.h which was only used
by nbd.c. So I moved the header content from include/ to the top of nbd.c.

The debugging prints of nbd which contained a basic filter functionality were
replaced by dev_dbg(). This removes the ability to filter by categories. But it
is now possible to use dynamic debugging.

The other patches are some small simplifications.

Best Regards,

Markus


The following changes since commit 9eccca0843205f87c00404b663188b88eb248051:

  Linux 4.0-rc3 (2015-03-08 16:09:09 -0700)

are available in the git repository at:

  git://git.pengutronix.de/git/mpa/linux-nbd.git tags/nbd-for-4.1

for you to fetch changes up to b824817aed32f1851ee0a7318dfcc76cabcb3069:

  nbd: Return error pointer directly (2015-04-01 13:07:28 +0200)

----------------------------------------------------------------
nbd cleanups for 4.1 based on v4.0-rc3

----------------------------------------------------------------
Markus Pargmann (9):
      Documentation: nbd: Reformat to allow more documentation
      Documentation: nbd: Add list of module parameters
      nbd: Remove kernel internal header
      nbd: Replace kthread_create with kthread_run
      nbd: Fix device bytesize type
      nbd: Restructure debugging prints
      nbd: Remove fixme that was already fixed
      nbd: Return error code directly
      nbd: Return error pointer directly

 Documentation/blockdev/nbd.txt |  48 +++++++++-----
 drivers/block/nbd.c            | 140 ++++++++++++++++-------------------------
 include/linux/nbd.h            |  46 --------------
 3 files changed, 86 insertions(+), 148 deletions(-)
 delete mode 100644 include/linux/nbd.h

-- 
2.1.4


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/9] nbd: cleanups
@ 2015-02-12 20:57 Markus Pargmann
  2015-02-12 20:57 ` [PATCH 2/9] Documentation: nbd: Add list of module parameters Markus Pargmann
  0 siblings, 1 reply; 14+ messages in thread
From: Markus Pargmann @ 2015-02-12 20:57 UTC (permalink / raw)
  To: nbd-general; +Cc: linux-kernel, Markus Pargmann

Hi,

here are some cleanups for nbd.

Patch 3 removes the internal kernel header of nbd as it is only used for nbd.c.
We can define the device struct at the top of nbd.c instead.
Patch 6 replaces the previously used dprint macro with dev_dbg. dev_dbg()
should work as well as dprint did.

The other patches change some minor things.

Best Regards,

Markus


Markus Pargmann (9):
  Documentation: nbd: Reformat to allow more documentation
  Documentation: nbd: Add list of module parameters
  nbd: Remove kernel internal header
  nbd: Replace kthread_create with kthread_run
  nbd: Fix device bytesize type
  nbd: Restructure debugging prints
  nbd: Remove fixme that was already fixed
  nbd: Return error code directly
  nbd: Return error pointer directly

 Documentation/blockdev/nbd.txt |  48 +++++++++-----
 drivers/block/nbd.c            | 138 ++++++++++++++++-------------------------
 include/linux/nbd.h            |  46 --------------
 3 files changed, 83 insertions(+), 149 deletions(-)
 delete mode 100644 include/linux/nbd.h

-- 
2.1.4


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

end of thread, other threads:[~2015-04-02 18:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-02  8:11 [PULL] NBD patches for 4.1 Markus Pargmann
2015-04-02  8:11 ` [PATCH 1/9] Documentation: nbd: Reformat to allow more documentation Markus Pargmann
2015-04-02  8:11 ` [PATCH 2/9] Documentation: nbd: Add list of module parameters Markus Pargmann
2015-04-02  8:11 ` [PATCH 3/9] nbd: Remove kernel internal header Markus Pargmann
2015-04-02  8:11 ` [PATCH 4/9] nbd: Replace kthread_create with kthread_run Markus Pargmann
2015-04-02  8:11 ` [PATCH 5/9] nbd: Fix device bytesize type Markus Pargmann
2015-04-02  8:11 ` [PATCH 6/9] nbd: Restructure debugging prints Markus Pargmann
2015-04-02  8:11 ` [PATCH 7/9] nbd: Remove fixme that was already fixed Markus Pargmann
2015-04-02  9:05   ` Christoph Hellwig
2015-04-02  9:36     ` Markus Pargmann
2015-04-02  8:11 ` [PATCH 8/9] nbd: Return error code directly Markus Pargmann
2015-04-02  8:11 ` [PATCH 9/9] nbd: Return error pointer directly Markus Pargmann
2015-04-02 18:40 ` [PULL] NBD patches for 4.1 Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2015-02-12 20:57 [PATCH 0/9] nbd: cleanups Markus Pargmann
2015-02-12 20:57 ` [PATCH 2/9] Documentation: nbd: Add list of module parameters Markus Pargmann

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).