lkml.org 
[lkml]   [1999]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: move block #A to block #B on a given device.
Hmmm, but, having thought about it, Stephen, do I really need to do this:

> if (!buffer_uptodate(new))
> wait_on_buffer(new);

if I know apriori that the "new" buffer could never had any io on it,
because it is not a data block of any inode, it is completely free.

Having said that, I don't know what happens if one does "cat < /dev/hda1",
this may have generated some io on this block so perhaps I should do as
you have said?

Regards,
Tigran.


-
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    [W:0.313 / U:1.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site