login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
August
»
31
Re: [11/36] Use page_cache_xxx in fs/buffer.c
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jens Axboe
Subject:
Re: [11/36] Use page_cache_xxx in fs/buffer.c
Date: Friday, August 31, 2007 - 1:12 am
On Fri, Aug 31 2007, Christoph Lameter wrote:
quoted text
> On Fri, 31 Aug 2007, Jens Axboe wrote: > > > They have nothing to do with each other, you are mixing things up. It > > has nothing to do with the device being able to dma into that memory or > > not, we have fine existing infrastructure to handle that. But different > > hardware have different characteristics on what a single segment is. You > > can say "a single segment cannot cross a 32kb boundary". So from the > > example above, your single 64k page may need to be split into two > > segments. Or it could have a maximum segment size of 32k, in which case > > it would have to be split as well. > > > > Do you see what I mean now? > > Ok. So another solution maybe to limit the blocksizes that can be used > with a device?
That'd work for creation, but not for moving things around.
quoted text
> > > How do we split that up today? We could add processing to submit_bio > > > to check for the boundary and create two bios. > > > > But we do not split them up today - see what I wrote! Today we impose > > the restriction that a device must be able to handle a single "normal" > > page, and if it can't do that, it has to split it up itself. > > > > But yes, you would have to create some out-of-line function to use > > bio_split() until you have chopped things down enough. It's not a good > > thing for performance naturally, but if we consider this a "just make it > > work" fallback, I don't think it's too bad. You want to make a note of > > that it is happening though, so people realize that it is happening. > > Hmmmm.. We could keep the existing scheme too and check that device > drivers split things up if they are too large? Isnt it possible today > to create a huge bio of 2M for huge pages and send it to a device?
Not sure, aren't the constituents of compound pages the basis for IO? -- Jens Axboe -
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:
[11/36] Use page_cache_xxx in fs/buffer.c
, clameter
, (Tue Aug 28, 12:06 pm)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Dmitry Monakhov
, (Thu Aug 30, 2:20 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Christoph Lameter
, (Thu Aug 30, 11:14 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Christoph Lameter
, (Thu Aug 30, 6:47 pm)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Jens Axboe
, (Thu Aug 30, 11:56 pm)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Christoph Lameter
, (Fri Aug 31, 12:03 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Jens Axboe
, (Fri Aug 31, 12:11 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Christoph Lameter
, (Fri Aug 31, 12:17 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Jens Axboe
, (Fri Aug 31, 12:26 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Christoph Lameter
, (Fri Aug 31, 12:33 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Jens Axboe
, (Fri Aug 31, 12:43 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Christoph Lameter
, (Fri Aug 31, 12:52 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Jens Axboe
, (Fri Aug 31, 1:12 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Dmitry Monakhov
, (Fri Aug 31, 1:36 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Christoph Lameter
, (Fri Aug 31, 8:22 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Christoph Lameter
, (Fri Aug 31, 8:28 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Jörn
, (Fri Aug 31, 9:35 am)
Re: [11/36] Use page_cache_xxx in fs/buffer.c
, Jens Axboe
, (Fri Aug 31, 12:00 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Benjamin Herrenschmidt
Re: [PATCH 1/4] hvc_console: do not set low_latency
Russell King
Re: ARM defconfig files
Carsten Otte
Re: [patch] ext2: xip check fix
Jordan Crouse
Re: 2.6.25-mm1
James Morris
Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
Nicolas Pitre
Re: About git and the use of SHA-1
linux-netdev
:
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Andi Kleen
Re: RFC: Nagle latency tuning
Gary Thomas
Re: Marvell 88E609x switch?
David Miller
Re: [RFC 0/5] generic rx recycling
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
dragonflybsd-user
:
Andreas Hauser
Re: Transset.
Tomas
usb printer Brother HL-2030 and DragonFly
Matthew Dillon
Re: DragonFlyBSD not in compliance with RFC 1122
Nikolai Lifanov
pkgsrc issues
Jonas
Re: New to DragonFly...
dragonflybsd-submit
:
Ilya Dryomov
git: HAMMER - Add live_dedup_cache_size sysctl
Matthew Dillon
git: MBUF - Account for failed allocations so netstat -m reports properly.
Simon Schubert
git: make.conf(5): mention STATIC_LOCALES
Matthias Schmidt
cvs commit: src/sys/net bpf.c bpf.h bpfdesc.h
Simon Schubert
git: Revert "Increase the default TCP maximum segment size from 512 to 1460."
Colocation donated by:
Syndicate