GNU bug report logs - #45887
buffer cache flushed after excute 'parted -s print' command

Previous Next

Package: parted;

Reported by: Hyun Ha <hfamily15 <at> gmail.com>

Date: Fri, 15 Jan 2021 08:30:02 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 45887-close <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: 45887-close <at> debbugs.gnu.org
Subject: Re: bug#45887: buffer cache flushed after excute 'parted -s print'
 command
Date: Fri, 15 Jan 2021 09:37:59 -0800
On Fri, Jan 15, 2021 at 12:32:42PM +0900, Hyun Ha wrote:
> Hi,
> I have a strange issue with parted.
> After execute parted command, buffer cache flushed and I don't know why.
> I have nvme device to set bcache and HDD device for backing block device of
> bcache and writeback mode.

Yes, parted calls fsync when it is done with the device. It always opens
the device in RW mode and always fsync's it when closing it to make sure
any changes make it to disk.

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart





This bug report was last modified 4 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.