Linux-kernel mailing list archive 2000-04,: Re: Corruption caused by umount not flushing the buffer cache.

# Re: Corruption caused by umount not flushing the buffer cache.

Henning P. Schmiedehausen (hps@tanstaafl.de)
25 Jan 2000 17:44:43 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Larry McVoy: "Re: Auto-Adaptive scheduler and semaphore patch ( 2.2.14 ) ..."
- Previous message: Chuck Lever: "Re: can't boot without "root=..." on kernel cmdline"
- Maybe in reply to: James Bottomley: "Corruption caused by umount not flushing the buffer cache."

alan@lxorguk.ukuu.org.uk (Alan Cox) writes:

>> I know I can get around this by forcing a BLKFLSBUF ioctl to the device after
>> the unmount but this strikes me as a bug in the linux umount semantics which
>> will bite more people than just me as linux enters the SAN arena.

>Solve policy problems in user space. If you want a umount to do that put
>it in the _application_. I don't want my caches flushing all the time just
>because I remount stuff

Ugh. Let's hope that those SCA disk adapters generate "drive changed"
messages when I unmount and hotswap a disk drive. I don't want parts
of my old file system flushed on the just inserted new disk.

Regards
Henning

    --
    Dipl.-Inf. (Univ.) Henning P. Schmiedehausen --             hps@tanstaafl.de
    TANSTAAFL! Consulting - Unix, Internet, Security

    Hutweide 15                   Fon.: 09131 / 50654-0    "There ain't no such
    D-91054 Buckenhof             Fax.: 09131 / 50654-20    thing as a free Linux"

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

- Next message: Larry McVoy: "Re: Auto-Adaptive scheduler and semaphore patch ( 2.2.14 ) ..."
- Previous message: Chuck Lever: "Re: can't boot without "root=..." on kernel cmdline"
- Maybe in reply to: James Bottomley: "Corruption caused by umount not flushing the buffer cache."