Re: [PATCH] libfdisk: fdisk_deassign_device: only sync(2) blockdevs

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

 



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





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux