From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RqthU-0007QJ-5X for mharc-grub-devel@gnu.org; Fri, 27 Jan 2012 16:51:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqthR-0007Q9-CF for grub-devel@gnu.org; Fri, 27 Jan 2012 16:51:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqthQ-00041K-59 for grub-devel@gnu.org; Fri, 27 Jan 2012 16:51:13 -0500 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:21119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqthP-00041D-VH for grub-devel@gnu.org; Fri, 27 Jan 2012 16:51:12 -0500 X-Authority-Analysis: v=2.0 cv=ffgvOjsF c=1 sm=0 a=/DbS/tiKggfTkRRHPZEB4g==:17 a=seg9fo12g4kA:10 a=P7dZfOPP_tkA:10 a=S1A5HrydsesA:10 a=IkcTkHD0fZMA:10 a=xe8BsctaAAAA:8 a=MltLJd3iOSJyzF7wBxcA:9 a=QEXdDO2ut3YA:10 a=/DbS/tiKggfTkRRHPZEB4g==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.78.168.186 Received: from [67.78.168.186] ([67.78.168.186:52660] helo=[10.1.1.230]) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id C1/0C-25990-E4C132F4; Fri, 27 Jan 2012 21:51:11 +0000 Message-ID: <4F231C4E.6080308@ubuntu.com> Date: Fri, 27 Jan 2012 16:51:10 -0500 From: Phillip Susi User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [RFC] FIEMAP and disk sync issues References: <4F22A683.4020607@gmail.com> <4F22F521.30104@ubuntu.com> In-Reply-To: <4F22F521.30104@ubuntu.com> X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.180.132.120 Cc: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2012 21:51:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It looks like BLKFLSBUF also should do the trick. That appears to both tell the fs ( if one is mounted ) to sync, and flush the dirty block buffers like fsync() on the blockdev does. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPIxxOAAoJEJrBOlT6nu75yMkIAKCDIhGFevEuEDsOxoIXWH88 /i9Txf5fpDiwDRp+ryU194pCfHoZXxZ1/7gkqTVhj9TEVpqGtXlYL6JdwSHbUWeJ +RCzrxEoVHLlAKxoTFrjZQorM+fKe0rleibAa9vGu98XzBvXCGiD8B1n/Mv2f6LT HbRsYs1IFEeF/YfH3d+nbjInQZQgTvGu5lnltBFsHr/V892q7Wqs5WuT/oqRMfvw L2g90Ft9YmfgwItbmAmhfPtFayus4TrOhXHSCCj4JsDEjeZpdNSnEJs/QrlqcYHU xRjKz9DG//1RncTpXun9C8ikpez66RT1voOL0v8xR5f8QPaJ68w1+1lTA+Hxtj0= =n8zF -----END PGP SIGNATURE-----