| To: | Mikulas Patocka <mpatocka@xxxxxxxxxx> |
|---|---|
| Subject: | Re: Device loses barrier support |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Thu, 04 Dec 2008 21:26:57 -0600 |
| Cc: | Andi Kleen <andi@xxxxxxxxxxxxxx>, Milan Broz <mbroz@xxxxxxxxxx>, Andi Kleen <andi-suse@xxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Alasdair G Kergon <agk@xxxxxxxxxx>, xfs@xxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.64.0812041401210.23079@hs20-bc2-1.build.redhat.com> |
| References: | <Pine.LNX.4.64.0812040009340.15169@hs20-bc2-1.build.redhat.com> <20081204100050.GN6703@one.firstfloor.org> <Pine.LNX.4.64.0812040836480.6118@hs20-bc2-1.build.redhat.com> <20081204142015.GQ6703@one.firstfloor.org> <Pine.LNX.4.64.0812040913510.6118@hs20-bc2-1.build.redhat.com> <20081204145810.GR6703@one.firstfloor.org> <Pine.LNX.4.64.0812041139200.2434@hs20-bc2-1.build.redhat.com> <20081204174838.GS6703@one.firstfloor.org> <Pine.LNX.4.64.0812041401210.23079@hs20-bc2-1.build.redhat.com> |
| User-agent: | Thunderbird 2.0.0.18 (Macintosh/20081105) |
Mikulas Patocka wrote: > Another thing: > > I'm wondering, where in fsync() does Linux wait for hardware disk cache to > be flushed? Isn't there a bug that fsync() will return before the cache is > flushed? I couldn't really find it. The last thing do_fsync calls is > filemap_fdatawait and it doesn't do cache flush (blkdev_issue_flush). ext4, reiserfs, and xfs all call blkdev_issue_flush() in their ->fsync file operations (or down that path). -Eric |
| Previous by Date: | Re: [PATCH] Use the incore inode size in xfs_file_readdir(), Lachlan McIlroy |
|---|---|
| Next by Date: | [XFS updates] XFS development tree branch, master, updated. v2.6.28-rc3-1107-g797eaed, xfs |
| Previous by Thread: | Re: Device loses barrier support (was: Fixed patch for simple barriers.), Andi Kleen |
| Next by Thread: | Re: Device loses barrier support (was: Fixed patch for simple barriers.), Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |