From: Jens Axboe <jens.axboe@oracle.com>
To: NeilBrown <neilb@suse.de>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
Mike Snitzer <snitzer@redhat.com>,
linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org,
linux-ide@vger.kernel.org,
device-mapper development <dm-devel@redhat.com>,
linux-scsi@vger.kernel.org, linux-fsdevel@vger.kernel.org,
Linus Torvalds <torvalds@linux-foundation.org>,
Alasdair G Kergon <agk@redhat.com>
Subject: Re: REQUEST for new 'topology' metrics to be moved out of the 'queue' sysfs directory.
Date: Fri, 26 Jun 2009 15:29:40 +0200 [thread overview]
Message-ID: <20090626132940.GR23611@kernel.dk> (raw)
In-Reply-To: <f0d53a7338e1be4e7bdcbe09223c6f73.squirrel@neil.brown.name>
On Fri, Jun 26 2009, NeilBrown wrote:
> On Fri, June 26, 2009 10:50 pm, Jens Axboe wrote:
> > On Fri, Jun 26 2009, Neil Brown wrote:
> >> Every block device has a 'gendisk' (aka generic disk).
> >> Every block device also (currently) has a request_queue.
> >
> > I don't know why you keep saying currently. It has always had a queue,
> > and I don't see a good reason why that should change for "special" block
> > devices like md/dm/loop/whatnot.
>
> I say "currently" because I'm planning to create patches to make it
> optional, and I want to get you used to the idea :-)
>
> And md/dm/loop/whatnot are not "special" block devices, any more than
> scsi/ide are "special" block devices. They are all just block devices.
> They use different mechanisms, but each is just as valid as the other.
That was why I put it in quotes, they are just regular devices.
> The current code makes 'struct request' based block devices in to
> first-class citizens, and all the rest are second class (having to
> tag our data structures on ->queue data and/or ->private_data).
?? How is that different from devices, the ones you refer to as
first-class citizens? They too store device private data in eg
->queue_data.
> I just want all block devices to be equal.
There's no such thing as first or second class block devices. The fact
that drivers using ->make_request_fn directly do not utilize the full
scope of the queue isn't a very interesting fact, imho.
--
Jens Axboe
WARNING: multiple messages have this Message-ID (diff)
From: Jens Axboe <jens.axboe@oracle.com>
To: NeilBrown <neilb@suse.de>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
Mike Snitzer <snitzer@redhat.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Alasdair G Kergon <agk@redhat.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-raid@vger.kernel.org, linux-ide@vger.kernel.org,
linux-fsdevel@vger.kernel.org,
device-mapper development <dm-devel@redhat.com>
Subject: Re: [dm-devel] REQUEST for new 'topology' metrics to be moved out of the 'queue' sysfs directory.
Date: Fri, 26 Jun 2009 15:29:40 +0200 [thread overview]
Message-ID: <20090626132940.GR23611@kernel.dk> (raw)
In-Reply-To: <f0d53a7338e1be4e7bdcbe09223c6f73.squirrel@neil.brown.name>
On Fri, Jun 26 2009, NeilBrown wrote:
> On Fri, June 26, 2009 10:50 pm, Jens Axboe wrote:
> > On Fri, Jun 26 2009, Neil Brown wrote:
> >> Every block device has a 'gendisk' (aka generic disk).
> >> Every block device also (currently) has a request_queue.
> >
> > I don't know why you keep saying currently. It has always had a queue,
> > and I don't see a good reason why that should change for "special" block
> > devices like md/dm/loop/whatnot.
>
> I say "currently" because I'm planning to create patches to make it
> optional, and I want to get you used to the idea :-)
>
> And md/dm/loop/whatnot are not "special" block devices, any more than
> scsi/ide are "special" block devices. They are all just block devices.
> They use different mechanisms, but each is just as valid as the other.
That was why I put it in quotes, they are just regular devices.
> The current code makes 'struct request' based block devices in to
> first-class citizens, and all the rest are second class (having to
> tag our data structures on ->queue data and/or ->private_data).
?? How is that different from devices, the ones you refer to as
first-class citizens? They too store device private data in eg
->queue_data.
> I just want all block devices to be equal.
There's no such thing as first or second class block devices. The fact
that drivers using ->make_request_fn directly do not utilize the full
scope of the queue isn't a very interesting fact, imho.
--
Jens Axboe
next prev parent reply other threads:[~2009-06-26 13:29 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-25 3:58 REQUEST for new 'topology' metrics to be moved out of the 'queue' sysfs directory Neil Brown
2009-06-25 3:58 ` Neil Brown
2009-06-25 8:00 ` Martin K. Petersen
2009-06-25 8:00 ` [dm-devel] " Martin K. Petersen
2009-06-25 11:07 ` NeilBrown
2009-06-25 11:07 ` NeilBrown
2009-06-25 11:07 ` NeilBrown
2009-06-25 11:36 ` John Robinson
2009-06-25 17:43 ` Martin K. Petersen
2009-06-25 17:43 ` [dm-devel] " Martin K. Petersen
2009-06-25 12:17 ` berthiaume_wayne
2009-06-25 12:17 ` berthiaume_wayne
2009-06-25 12:17 ` [dm-devel] " berthiaume_wayne
2009-06-25 17:38 ` Martin K. Petersen
2009-06-25 17:38 ` [dm-devel] " Martin K. Petersen
2009-06-25 17:46 ` Linus Torvalds
2009-06-25 17:46 ` [dm-devel] " Linus Torvalds
2009-06-25 19:34 ` Jens Axboe
2009-06-25 19:34 ` [dm-devel] " Jens Axboe
2009-06-26 11:58 ` Neil Brown
2009-06-26 14:48 ` Martin K. Petersen
2009-06-26 14:48 ` [dm-devel] " Martin K. Petersen
2009-07-07 1:47 ` Neil Brown
2009-07-07 5:29 ` Martin K. Petersen
2009-07-07 5:29 ` [dm-devel] " Martin K. Petersen
2009-07-09 0:42 ` Neil Brown
2009-07-09 0:42 ` [dm-devel] " Neil Brown
2009-07-07 22:06 ` Bill Davidsen
2009-07-07 22:06 ` [dm-devel] " Bill Davidsen
2009-06-25 19:40 ` Jens Axboe
2009-06-26 12:41 ` Neil Brown
2009-06-26 12:50 ` Jens Axboe
2009-06-26 13:16 ` NeilBrown
2009-06-26 13:16 ` NeilBrown
2009-06-26 13:27 ` Jens Axboe
2009-06-26 13:41 ` NeilBrown
2009-06-26 13:49 ` Jens Axboe
2009-06-27 12:50 ` Neil Brown
2009-06-27 12:50 ` [dm-devel] " Neil Brown
2009-06-26 13:23 ` NeilBrown
2009-06-26 13:23 ` NeilBrown
2009-06-26 13:29 ` Jens Axboe [this message]
2009-06-26 13:29 ` Jens Axboe
2009-06-27 12:32 ` Neil Brown
2009-06-27 12:32 ` [dm-devel] " Neil Brown
2009-06-29 10:18 ` Jens Axboe
2009-06-29 10:52 ` NeilBrown
2009-06-29 10:52 ` NeilBrown
2009-06-29 11:41 ` Jens Axboe
2009-06-29 12:45 ` Boaz Harrosh
2009-06-29 12:52 ` Jens Axboe
2009-06-29 23:09 ` Andreas Dilger
2009-07-01 0:29 ` Neil Brown
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=20090626132940.GR23611@kernel.dk \
--to=jens.axboe@oracle.com \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=neilb@suse.de \
--cc=snitzer@redhat.com \
--cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.