From: Tejun Heo <tj@kernel.org>
To: "Alan D. Brunelle" <Alan.Brunelle@hp.com>
Cc: device-mapper development <dm-devel@redhat.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Jens Axboe <jens.axboe@oracle.com>
Subject: Re: Problem w/ CONFIG_DEBUG_BLOCK_EXT_DEVT
Date: Tue, 02 Sep 2008 13:06:24 +0200 [thread overview]
Message-ID: <48BD1E30.8040602@kernel.org> (raw)
In-Reply-To: <48BD1BA5.1020604@hp.com>
Alan D. Brunelle wrote:
>>> (2) Device minor numbers can be quite large, and the 10-character limits
>>> in dm/lib/libdm-deptree.c are too small.
>> Would it be difficult to increase that?
>
> No, but knowing the upper bound would be helpful.
Well, dev_t is 32bits and MINORBITS is 20. So, major 12 bits, minor 20
bits, so 4 characters for major, 7 characters for minor.
--
tejun
next prev parent reply other threads:[~2008-09-02 11:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-02 10:36 Problem w/ CONFIG_DEBUG_BLOCK_EXT_DEVT Alan D. Brunelle
2008-09-02 10:47 ` Tejun Heo
2008-09-02 10:55 ` Alan D. Brunelle
2008-09-02 10:57 ` Jens Axboe
2008-09-02 11:06 ` Tejun Heo [this message]
2008-09-02 12:20 ` [dm-devel] " Alasdair G Kergon
2008-09-02 12:23 ` Tejun Heo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48BD1E30.8040602@kernel.org \
--to=tj@kernel.org \
--cc=Alan.Brunelle@hp.com \
--cc=dm-devel@redhat.com \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).