linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Evms-devel] Re: [PATCH] EVMS core 1/4: evms.c
  2002-10-04 17:07 [Evms-devel] Re: [PATCH] EVMS core 1/4: evms.c Mark Peloquin
@ 2002-10-04 17:04 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2002-10-04 17:04 UTC (permalink / raw)
  To: Mark Peloquin; +Cc: linux-kernel, evms-devel

> This was done to abstract the storage/lookup
> method. Currently with only 256 minors per major
> a simply kernel list is adequate, however once
> the kernel goes to 20-bit minors a list will not
> be sufficient.

Before that happens you'll get nice private pointers in the higher
level objects so you don't need to do lookups in any fast-path
anymore..


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

* Re: [Evms-devel] Re: [PATCH] EVMS core 1/4: evms.c
@ 2002-10-04 17:07 Mark Peloquin
  2002-10-04 17:04 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Peloquin @ 2002-10-04 17:07 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-kernel, evms-devel


On Friday 04 October 2002 09:56, Christoph Hellwig wrote:

> > +/**
> > + * find_next_volume - locates first or next logical volume
> > + * @lv:            current logical volume
> > + *
> > + * returns the next logical volume or NULL
> > + **/
>
> All user of this look like they better used list_for_each?
>
> > +
> > +/**
> > + * find_next_volume_safe - locates first or next logical volume (safe
> > for removes) + * @next_lv:      ptr to next logical volume
> > + *
> > + * returns the next logical volume or NULL
> > + **/
>
> Dito with list_for_each_safe

This was done to abstract the storage/lookup
method. Currently with only 256 minors per major
a simply kernel list is adequate, however once
the kernel goes to 20-bit minors a list will not
be sufficient.



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

end of thread, other threads:[~2002-10-04 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-04 17:07 [Evms-devel] Re: [PATCH] EVMS core 1/4: evms.c Mark Peloquin
2002-10-04 17:04 ` Christoph Hellwig

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