I want to invalidate file and remove it from Cache, so that any additional access to that file will go through the lower level storage device.
In linux, it's done using syscall
but what is the equivalent in freeBSD ?
P.S. I related the generate file cache, disregarding specific filesystem.
In linux, it's done using syscall
Code:
ioctl(file_desc, BLKFLSBUF)
but what is the equivalent in freeBSD ?
P.S. I related the generate file cache, disregarding specific filesystem.