RE: how to flush out cache.?

From: Jan Mikkelsen (janm_at_transactionware.com)
Date: 04/24/04

  • Next message: Alfred Perlstein: "Re: bad news for bsdtar.."
    To: "'Julian Elischer'" <julian@elischer.org>, <hackers@freebsd.org>
    Date: Sat, 24 Apr 2004 15:40:30 +1000
    
    

    Julian Elischer wrote:
    > Other than reading a few GB of data, is there a way to flush
    > out the cache copy of a file I've written?

    I don't know how this will fit into your application, but unmounting and
    remounting the filesystem is a way that springs to mind. Perhaps not as
    isloated as you'd like, but still ...

    Regards,

    Jan Mikkelsen
    janm@transactionware.com

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Alfred Perlstein: "Re: bad news for bsdtar.."

    Relevant Pages

    • flush cache range proposal (was Re: ide errors in 7-rc1-mm1 and later)
      ... If bit 0 is set to one, the mandatory FLUSH CACHE and FLUSH CACHE EXT ... commands support the RANGE bit, and user-supplied LBA ... and sector count specifying the limits of the cache flush. ...
      (Linux-Kernel)
    • Re: USB2.0 throughput
      ... Both my setups are reading a file from the USB HDD device. ... reading speed cannot be speed-up by a cache. ... It seems that the wince system is not fully loading the USB ...
      (microsoft.public.windowsce.embedded)
    • Re: Implementing Lisp in C?
      ... > to explicitly flush the data cache and/or the instruction cache ... interface to flush a specified range of the icache. ... rub is that if you execute this instruction on a V7, ...
      (comp.lang.lisp)
    • Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again
      ... flush the cache as seen by A PARTICULAR virtual mapping. ... It's the aliasing between the _1_ valid user mapping and the kernel's ... the kernel for a cpu load/store. ...
      (Linux-Kernel)
    • Re: FlushFileBuffers in non-privileged user mode
      ... H> that need to flush file cache before the software end. ... In Windows 2000 and XP user mode, if the working device that I am ... they have data corruption problem even though OS ...
      (microsoft.public.win32.programmer.kernel)