[PATCH] UBUNTU: SAUCE: nbd: Change default partitions per device to 15
Tim Gardner
tim.gardner at canonical.com
Mon Mar 16 16:10:26 UTC 2009
Scott James Remnant wrote:
> This was previously changed by using an "options" line in a modprobe.d
> file, however that practice is now deprecated. This is because module
> names, option names, their values and even their current defaults can
> all change inside the kernel and module-init-tools has never been kept
> in sync.
>
> In addition, changing the kernel means that the option change will apply
> if the module is built in by users or the OEM team.
>
> Bug: #342563
>
> Signed-off-by: Scott James Remnant <scott at canonical.com>
> ---
> drivers/block/nbd.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
> index 92d6c9f..e3db5c3 100644
> --- a/drivers/block/nbd.c
> +++ b/drivers/block/nbd.c
> @@ -56,7 +56,7 @@ static unsigned int debugflags;
>
> static unsigned int nbds_max = 16;
> static struct nbd_device *nbd_dev;
> -static int max_part;
> +static int max_part = 15;
>
> /*
> * Use just one lock (or at most 1 per NIC). Two arguments for this:
Applied.
https://bugs.edge.launchpad.net/ubuntu/jaunty/+source/linux/+bug/342563/comments/7
--
Tim Gardner tim.gardner at canonical.com
More information about the kernel-team
mailing list