Gentoo Archives: gentoo-portage-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Re: proj/portage:master commit in: man/, pym/portage/dbapi/, pym/portage/, cnf/
Date: Thu, 25 Oct 2012 15:10:15
Message-Id: 20121025123212.GE85698@gentoo.org
In Reply to: Re: [gentoo-portage-dev] Re: proj/portage:master commit in: man/, pym/portage/dbapi/, pym/portage/, cnf/ by Zac Medico
1 On 25-10-2012 02:45:41 -0700, Zac Medico wrote:
2 > > can't you use os.fdatasync() or os.fsync() instead?
3 >
4 > os.fdatasync() or os.fsync() only work for single files, right? We don't
5 > want to sync them individually, since that wastes disk bandwidth. It's
6 > much more efficient to sync the whole filesystem at once, like syncfs does.
7
8 You use syncfs, which according to the man-page requires a
9 filedescriptor. Hence my suggestion.
10
11
12 --
13 Fabian Groffen
14 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies