Re: why invalidate_buffers() in blkdev_put()?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Jan 16 2000 - 11:16:54 EST


> In 2.3.39 a call to invalidate_buffers() was added to
> fs/block_dev.c:blkdev_put().

The problem is that Al centralised that code. Quite a few drivers know
about broken media change issues and always flush on close. For a floppy
the invalidate on close is IMHO a good idea - some drives have broken
media change

Alan

-
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/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:14 EST