On Sat, Jan 13, 2024 at 11:35:31PM +0100, наб wrote: > When not editing a blockdev, syncing disks provides no benefit > (we already fsync() above), takes a long time, > and affects unrelated caches. > > BLKRRPART is similarly gated on !S_ISBLK(st_mode) in > fdisk_reread_partition_table. Applied, thanks! Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com