lkml.org 
[lkml]   [1999]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux Buffer Cache Does Not Support Mirroring


On Wed, 3 Nov 1999, Stephen C. Tweedie wrote:

> If the worst comes to the worst, you can just copy those functions in
> your own module for 2.2 and ask for them to be exported symbols in 2.3.
> The ll_rw_block API just wants something that looks like a buffer_head,
> and doesn't care what code was called to create that structure.

In my opinion, ll_rw_blk is something that may well disappear in 2.5/2.6.
Exporting to much interfaces that refers to this layer may well add some
legacies that will make things still harder for the change.
In my experience, exportation of symbols is something that must be
carefully controlled, otherwise we may end up with some montruous software
that might get pretty impossible to evolve in the future.

About callbacks, they are good when there are not to much abused. They can
cause increase of interrupt latency and kind of wierd problems when not
carefully understood and used. When, for example, we only need a thread
to be waken up, some less general but less permissive mechanism should be
preferred, in my opinion.

Gérard.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2011 Jasper Spaans