login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
March
»
15
Re: [patch 2/5] fs: introduce new aops and infrastructure
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Trond Myklebust
Subject:
Re: [patch 2/5] fs: introduce new aops and infrastructure
Date: Thursday, March 15, 2007 - 1:06 pm
On Wed, 2007-03-14 at 21:13 -0700, Mark Fasheh wrote:
quoted text
> Hi Nick, > > On Wed, Mar 14, 2007 at 02:38:22PM +0100, Nick Piggin wrote: > > Introduce write_begin, write_end, and perform_write aops. > > > > These are intended to replace prepare_write and commit_write with more > > flexible alternatives that are also able to avoid the buffered write > > deadlock problems efficiently (which prepare_write is unable to do). > > > Index: linux-2.6/include/linux/fs.h > > =================================================================== > > --- linux-2.6.orig/include/linux/fs.h > > +++ linux-2.6/include/linux/fs.h > > @@ -449,6 +449,17 @@ struct address_space_operations { > > */ > > int (*prepare_write)(struct file *, struct page *, unsigned, unsigned); > > int (*commit_write)(struct file *, struct page *, unsigned, unsigned); > > + > > + int (*write_begin)(struct file *, struct address_space *mapping, > > + loff_t pos, unsigned len, int intr, > > + struct page **pagep, void **fsdata); > > + int (*write_end)(struct file *, struct address_space *mapping, > > + loff_t pos, unsigned len, unsigned copied, > > + struct page *page, void *fsdata); > > Are we going to get rid of the file and intr arguments btw? I'm not sure > intr is useful, and mapping is probably enough to get whatever we inside > ->write_begin / ->write_end.
Hell no! Struct file carries information that is essential for those of us that use strong authentication. It stays. Trond -
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:
[patch 1/5] fs: add an iovec iterator
, Nick Piggin
, (Wed Mar 14, 6:38 am)
[patch 2/5] fs: introduce new aops and infrastructure
, Nick Piggin
, (Wed Mar 14, 6:38 am)
[patch 3/5] fs: convert some simple filesystems
, Nick Piggin
, (Wed Mar 14, 6:38 am)
[patch 4/5] ext2: convert to new aops
, Nick Piggin
, (Wed Mar 14, 6:38 am)
[patch 5/5] ext3: convert to new aops
, Nick Piggin
, (Wed Mar 14, 6:38 am)
Re: [patch 1/5] fs: add an iovec iterator
, Nick Piggin
, (Wed Mar 14, 6:51 am)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Dmitriy Monakhov
, (Wed Mar 14, 2:28 pm)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Nick Piggin
, (Wed Mar 14, 8:55 pm)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Mark Fasheh
, (Wed Mar 14, 9:13 pm)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Nick Piggin
, (Wed Mar 14, 9:36 pm)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Mark Fasheh
, (Wed Mar 14, 11:11 pm)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Joel Becker
, (Wed Mar 14, 11:23 pm)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Nick Piggin
, (Thu Mar 15, 1:04 am)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Dmitriy Monakhov
, (Thu Mar 15, 2:44 am)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Nick Piggin
, (Thu Mar 15, 3:04 am)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Steven Whitehouse
, (Thu Mar 15, 9:24 am)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Trond Myklebust
, (Thu Mar 15, 1:06 pm)
Re: [patch 2/5] fs: introduce new aops and infrastructure
, Mark Fasheh
, (Thu Mar 15, 1:44 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
Michael S. Tsirkin
[PATCH 3/3] vhost: fix get_user_pages_fast error handling
Randy Macleod
RFC: TIPC API, bind to two networks
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
[ARM] mmp: add dma support to mmp2
Colocation donated by:
Syndicate