Hi IacsaP and Lukasz,

On 2023-11-17 08:40, lacsaP Patatetom wrote:
on the `/proc/sys/vm/` side may be ?
does the `sync` followed by a `sysctl -q vm.drop_caches=3` change things ?

regards, lacsaP.

tried but to no avail.

Here is the session output:

---

(13:44) giovanni @ ~ $ sysctl vm.drop_caches
(13:44) giovanni @ ~ $ sudo sysctl vm.drop_caches=3
[sudo] password for giovanni:  
vm.drop_caches = 3
(13:44) giovanni @ ~ $ udisksctl mount -b /dev/nvme0n1p5 -t ntfs3
Mounted /dev/nvme0n1p5 at /run/media/giovanni/Data
(13:44) giovanni @ ~ $ cat /run/media/giovanni/Data/mount_test.txt  
Using ntfs3
(13:45) giovanni @ ~ $ echo "Using udisks and ntfs3" > /run/media/giovanni/Data/mount_test.txt  
(13:45) giovanni @ ~ $ cat /run/media/giovanni/Data/mount_test.txt  
(13:45) giovanni @ ~ $ sync
(13:45) giovanni @ ~ $ cat /run/media/giovanni/Data/mount_test.txt  
(13:45) giovanni @ ~ $ udisksctl unmount -b /dev/nvme0n1p5
Unmounted /dev/nvme0n1p5.
(13:45) giovanni @ ~ $ udisksctl mount -b /dev/nvme0n1p5 -t ntfs3
Mounted /dev/nvme0n1p5 at /run/media/giovanni/Data
(13:45) giovanni @ ~ $ cat /run/media/giovanni/Data/mount_test.txt  
Using udisks and ntfs3
(13:45) giovanni @ ~ $

---

As Lukasz mentioned, it probably is a bug.

I will open one on the bug tracker and if needed towards the kernel itself. :)

Will keep you posted.

Bests,

-- 
Giovanni Santini