Re: move block #A to block #B on a given device.

Tigran Aivazian (tigran@sco.COM)
Mon, 8 Nov 1999 13:37:30 +0000 (GMT)


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/