| From | Sent On | Attachments |
|---|---|---|
| Warner Losh | Oct 5, 1999 1:41 pm | |
| Ollivier Robert | Oct 5, 1999 2:04 pm | |
| David Schwartz | Oct 5, 1999 2:31 pm | |
| Warner Losh | Oct 5, 1999 2:42 pm | |
| Peter Jeremy | Oct 5, 1999 3:49 pm | |
| Nate Williams | Oct 5, 1999 4:01 pm | |
| David Schwartz | Oct 5, 1999 4:10 pm | |
| Warner Losh | Oct 5, 1999 4:33 pm | |
| Alfred Perlstein | Oct 5, 1999 4:55 pm | |
| Peter Jeremy | Oct 5, 1999 5:18 pm | |
| Peter Jeremy | Oct 5, 1999 5:38 pm | |
| Alfred Perlstein | Oct 5, 1999 6:33 pm | |
| Kevin Street | Oct 5, 1999 8:28 pm | |
| Ollivier Robert | Oct 5, 1999 9:48 pm | |
| Peter Jeremy | Oct 5, 1999 9:57 pm | |
| Brian Somers | Oct 5, 1999 11:02 pm | |
| Brian Somers | Oct 5, 1999 11:13 pm | |
| Brian Somers | Oct 5, 1999 11:16 pm | |
| Brad Knowles | Oct 6, 1999 3:22 am | |
| Garrett Wollman | Oct 6, 1999 7:51 am | |
| Brad Knowles | Oct 6, 1999 7:56 am | |
| Brad Knowles | Oct 6, 1999 10:25 am | |
| Matthew D. Fuller | Oct 6, 1999 1:43 pm | |
| Kevin Day | Oct 6, 1999 2:17 pm | |
| Matthew Dillon | Oct 6, 1999 2:48 pm | |
| Peter Jeremy | Oct 6, 1999 2:51 pm | |
| Matthew D. Fuller | Oct 6, 1999 2:56 pm | |
| Peter Jeremy | Oct 6, 1999 3:12 pm | |
| Ben Rosengart | Oct 6, 1999 3:53 pm | |
| Peter Jeremy | Oct 6, 1999 3:58 pm | |
| Matthew D. Fuller | Oct 6, 1999 4:15 pm | |
| Bruce Evans | Oct 6, 1999 5:31 pm | |
| Matthew Dillon | Oct 6, 1999 6:19 pm | |
| Peter Jeremy | Oct 6, 1999 6:57 pm | |
| Matthew D. Fuller | Oct 6, 1999 11:57 pm | |
| Matthew Thyer | Oct 7, 1999 5:53 am | |
| David O'Brien | Oct 7, 1999 3:10 pm | |
| David O'Brien | Oct 7, 1999 3:12 pm | |
| David Schwartz | Oct 7, 1999 3:14 pm | |
| David O'Brien | Oct 7, 1999 3:21 pm | |
| Peter Jeremy | Oct 7, 1999 4:43 pm | |
| Brad Knowles | Oct 8, 1999 4:42 am | |
| David O'Brien | Oct 8, 1999 9:26 am | |
| David O'Brien | Oct 8, 1999 9:34 am | |
| David Schwartz | Oct 8, 1999 10:19 am | |
| David O'Brien | Oct 8, 1999 10:52 am | |
| Matthew Dillon | Oct 8, 1999 11:23 am | |
| Dmitrij Tejblum | Oct 9, 1999 2:33 pm | |
| Tony Finch | Oct 10, 1999 11:25 am |
| Subject: | Re: make install trick | |
|---|---|---|
| From: | Peter Jeremy (pete...@alcatel.com.au) | |
| Date: | Oct 6, 1999 3:58:38 pm | |
| List: | org.freebsd.freebsd-current | |
On 1999-Oct-07 06:44:19 +1000, Matthew D. Fuller wrote:
/dev/da0s1a on / (local, synchronous, writes: sync 32 async 15100) ^^^^^^^^^^^
Though I'm still waiting for an explanation of WHY exactly I have async writes on a sync partition. Nobody yet has said anything but 'that's interesting...'. A direction to look would be helpful.
You get a synchronous mount by passing MNT_SYNCHRONOUS to mount(2). Within the kernel, MNT_SYNCHRONOUS is used (basically only) within kern/vfs_vnops.c:vn_write(). There it adds IO_SYNC to the write request (the same as if the file has O_FSYNC enabled). IO_SYNC will be ignored if MNT_ASYNC is specified (which it isn't here). The write request goes through ufs/ufs/ufs_readwrite.c:WRITE(), which passes it to bwrite() if it's IO_SYNC.
Inode access time updates (controlled by MNT_NOATIME, which becomes ~IN_ACCESS, which becomes IN_MODIFIED) don't go through vn_write() and wind up in bdwrite().
As far as I can tell, the net effect is that inode access time updates will remain async writes into the filesystem.
An easy way to tell would be to use NOATIME and see if you're still getting async writes. (Or any writes at all).
Peter
-- Peter Jeremy (VK2PJ) pete...@alcatel.com.au Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5982
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message





