login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
20
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to userland
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Erez Zadok
Subject:
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to userland
Date: Monday, November 19, 2007 - 6:30 pm
In message <Pine.LNX.4.64.0711172103040.10619@blonde.wat.veritas.com>, Hugh Dickins writes:
quoted text
> On Tue, 13 Nov 2007, Erez Zadok wrote:
[...]
quoted text
> I'm glad to report that this unionfs, not the one in 2.6.24-rc2-mm1 > but the one including those 9 patches you posted, now gets through > my testing with tmpfs without a problem. I do still get occasional > "unionfs: new lower inode mtime (bindex=0, name=<directory>)" > messages, but nothing worse seen yet: a big improvement.
Excellent.
quoted text
> I did think you could clean up the doubled set_page_dirtys, > but it's of no consequence.
Yes, looks good. I'll send that as a patch. Thanks.
quoted text
> Hugh > > --- 2.6.24-rc2-mm1+9/fs/unionfs/mmap.c 2007-11-17 12:23:30.000000000 +0000 > +++ linux/fs/unionfs/mmap.c 2007-11-17 20:22:29.000000000 +0000 > @@ -56,6 +56,7 @@ static int unionfs_writepage(struct page > copy_highpage(lower_page, page); > flush_dcache_page(lower_page); > SetPageUptodate(lower_page); > + set_page_dirty(lower_page); > > /* > * Call lower writepage (expects locked page). However, if we are > @@ -66,12 +67,11 @@ static int unionfs_writepage(struct page > * success. > */ > if (wbc->for_reclaim) { > - set_page_dirty(lower_page); > unlock_page(lower_page); > goto out_release; > } > + > BUG_ON(!lower_mapping->a_ops->writepage); > - set_page_dirty(lower_page); > clear_page_dirty_for_io(lower_page); /* emulate VFS behavior */ > err = lower_mapping->a_ops->writepage(lower_page, wbc); > if (err < 0)
Erez. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to userland
, Erez Zadok
, (Sun Oct 7, 12:20 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Andrew Morton
, (Thu Oct 11, 2:47 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Ryan Finnie
, (Thu Oct 11, 3:12 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Thu Oct 11, 5:38 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Pekka Enberg
, (Fri Oct 12, 2:45 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Sun Oct 14, 1:44 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Pekka Enberg
, (Sun Oct 14, 10:09 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Sun Oct 14, 10:23 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Pekka J Enberg
, (Sun Oct 14, 10:50 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Sun Oct 14, 3:32 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Pekka Enberg
, (Mon Oct 15, 4:47 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Tue Oct 16, 11:02 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Mon Oct 22, 12:42 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Mon Oct 22, 1:01 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Mon Oct 22, 1:16 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Pekka Enberg
, (Mon Oct 22, 1:40 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Pekka Enberg
, (Mon Oct 22, 1:48 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Mon Oct 22, 2:04 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Mon Oct 22, 2:38 pm)
[PATCH] fix tmpfs BUG and AOP_WRITEPAGE_ACTIVATE
, Hugh Dickins
, (Wed Oct 24, 2:02 pm)
Re: [PATCH] fix tmpfs BUG and AOP_WRITEPAGE_ACTIVATE
, Andrew Morton
, (Wed Oct 24, 2:08 pm)
[PATCH+comment] fix tmpfs BUG and AOP_WRITEPAGE_ACTIVATE
, Hugh Dickins
, (Wed Oct 24, 2:37 pm)
Re: [PATCH+comment] fix tmpfs BUG and AOP_WRITEPAGE_ACTIVATE
, Pekka Enberg
, (Wed Oct 24, 10:37 pm)
Re: [PATCH+comment] fix tmpfs BUG and AOP_WRITEPAGE_ACTIVATE
, Hugh Dickins
, (Wed Oct 24, 11:30 pm)
Re: [PATCH+comment] fix tmpfs BUG and AOP_WRITEPAGE_ACTIVATE
, Pekka Enberg
, (Thu Oct 25, 12:24 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Thu Oct 25, 8:36 am)
Re: [PATCH+comment] fix tmpfs BUG and AOP_WRITEPAGE_ACTIVATE
, Erez Zadok
, (Thu Oct 25, 9:01 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Thu Oct 25, 9:40 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Thu Oct 25, 9:44 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Thu Oct 25, 11:03 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Thu Oct 25, 11:23 am)
Re: [PATCH+comment] fix tmpfs BUG and AOP_WRITEPAGE_ACTIVATE
, H. Peter Anvin
, (Thu Oct 25, 1:51 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Pekka Enberg
, (Fri Oct 26, 1:05 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Sat Oct 27, 1:47 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Sun Oct 28, 1:23 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Mon Oct 29, 1:33 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Wed Oct 31, 4:53 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Mon Nov 5, 8:40 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Dave Hansen
, (Mon Nov 5, 9:38 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Mon Nov 5, 11:57 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Thu Nov 8, 7:47 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Thu Nov 8, 11:05 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Sun Nov 11, 10:41 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Mon Nov 12, 10:01 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Tue Nov 13, 3:18 am)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Hugh Dickins
, (Sat Nov 17, 2:24 pm)
Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to use ...
, Erez Zadok
, (Mon Nov 19, 6:30 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Francis Moreau
Re: Disk geometry from /sys
Rafael J. Wysocki
[Bug #11407] suspend: unable to handle kernel paging request
Christoph Lameter
Re: [bug] SLUB + mm/slab.c boot crash in -rc9
Jeremy Fitzhardinge
Re: [2.6.25] compat VDSO option not disabling
Rafael J. Wysocki
[Bug #11551] Semi-repeatable hard lockup on 2.6.27-rc6
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Tait
Re: [PATCH] Replace hard-coded path with one from <paths.h>
Frans Pop
'git gc --aggressive' effectively unusable
Stephan Beyer
Re: git sequencer prototype
Lynn Lin
Re: clearcase migration to git
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
David Miller
Re: [PATCH] IPv6: preferred lifetime of address not getting updated
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Mark McLoughlin
Re: [PATCH 2/3] virtio: fix delayed xmit of packet and freeing of old packets.
git-commits-head
:
Linux Kernel Mailing List
.gitignore: ignore *.lzo files
Linux Kernel Mailing List
tracing: Simplify trace_option_write()
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
Linux Kernel Mailing List
ARM: dma-mapping: fix for speculative prefetching
Linux Kernel Mailing List
dm ioctl: introduce flag indicating uevent was generated
openbsd-misc
:
Robert
disklabel - cylinder rounding
nixlists
Re: Which laptops do the developers use?
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Przemyslaw Nowaczyk
Re: tpb and tphdisk assistance
Colocation donated by:
Syndicate