lkml.org 
[lkml]   [1996]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectbuffer cache question, complex IO requests.


Hello buffer cache experts :)

in our (soon to come) RAID1 and RAID[45] code we have the following
problem: The current ll_rw_block() logic ensures that a dirty buffer is
marked clean and the IO request is put into the global block IO request
queue always atomically.

Is it a problem if a process sleeps after it has marked a buffer clean,
but hasnt issued the IO operation into the global queue yet? As far as i
could check, bdflush doesnt deal with such buffers, it's on the BUF_LOCKED
list. Could other races be possible?

thanks in advance,

-- mingo


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