Invalidating Caches When a Block Device Changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm writing a block device driver for a device who's data might change
without the kernel performing any specific writes.  I'm looking for a
way to inform any upstream caches that the data it holds is no longer
valid and must be discarded.

I've found APIs for flushing caches *to* the block device, but none
that makes sense to call within the context of the block device driver
itself when it has learned the underlying device itself has changed.

Can anyone point me to the proper APIs?



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux