Re: [patch 2/5] fs: introduce new aops and infrastructure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Thursday, March 15, 2007 - 3:04 am

Dmitriy Monakhov wrote:

Check linux-mm: zero-copy splice is broken anyway, and AFAIKS it cannot
really be fixed to work with the current prepare_write.


Actually we could do it with begin_write. All we need to do is set a
flag to say that *pagep contains a page that we can use, with a copy of
the write data on it.

The filesystem would then be able to insert that page into the pagecache
*if* it could handle such an operation.

OTOH, is splice stealing support really important? I guess it could be a
nice win for a small niche of workloads, and we probably don't want to
exclude it by design...

-- 
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com 
-
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, 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)