lkml.org 
[lkml]   [1998]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: threaded FS-drivers
On Mon, 2 Feb 1998, Martin von Loewis wrote:

> > Is there any point to using threaded FS drivers? or threaded physical
> > hardware drivers?
>
> The Linux file system drivers have been threaded for ages. Multiple
> processes can access different files in an overlapping fashion; while
> one process is waiting for a request to complete, the file system might
> already look into the request of another process.
>
> There are a few places where concurrent access is not desirable, Linux
> supports locks on the inode level and on the superblock level for
> these cases.

Actually - I was thinking of actual asynchronous FS-management...
Where, say, a kernel thread was being used to manage the device rather
than the local process... (as it is currently :)

Though, thinking about this, there's really not a lot of point to it
unless you have a multi-CPU system and want to dedicate one CPU (or more)
to filesystem-management/caching or the like. (or other special purpose
such as 3D graphics layer on a real accelerated card - where kernel-thread
is a necessity not an option [IRQ's (+DMA) are required] :)

In other words - only a special case thingy... Okay ;)

G'day, eh? :)
- Teunis



\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.139 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site