Hi list, is it possible, to "decache" a fileio-device without destroying it? I have an (deactivated) cached fileio-device here: # cat info Status: DEACTIVATED Max Queue Depth: 0 SectorSize: 0 HwMaxSectors: 0 TCM FILEIO ID: 0 File: /dev/dm-8 Size: 5368709120 Mode: Buffered-WCE but flushing the buffer (or just deactivating) doesnt work: # echo "fd_buffered_io=0" > control bash: echo: write error: Invalid argument And dmesg tells me: [101828.839116] bogus fd_buffered_io=0 value Is it not possible to deactivate buffer without destroying the fileio? The other direction seems to work: # echo "fd_dev_path=/dev/dm-9,fd_dev_name=/dev/dm-9,fd_dev_size=$(blockdev --getsize64 /dev/dm-9)" > control # cat info Status: DEACTIVATED Max Queue Depth: 0 SectorSize: 0 HwMaxSectors: 0 TCM FILEIO ID: 0 File: /dev/dm-9 Size: 7516192768 Mode: O_DSYNC # echo "fd_buffered_io=1" > control # cat info Status: DEACTIVATED Max Queue Depth: 0 SectorSize: 0 HwMaxSectors: 0 TCM FILEIO ID: 0 File: /dev/dm-9 Size: 7516192768 Mode: Buffered-WCE Tfh! Oliver -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html