[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091217173327.GF2123@thunk.org>
Date: Thu, 17 Dec 2009 12:33:27 -0500
From: tytso@....edu
To: Christoph Hellwig <hch@...radead.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Kyle McMartin <kyle@...artin.ca>, linux-parisc@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
James.Bottomley@...e.de, linux-arch@...r.kernel.org,
Jens Axboe <jens.axboe@...cle.com>
Subject: Re: [git patches] xfs and block fixes for virtually indexed arches
On Thu, Dec 17, 2009 at 12:10:25PM -0500, Christoph Hellwig wrote:
> On Thu, Dec 17, 2009 at 11:30:36AM -0500, tytso@....edu wrote:
> > That's because apparently the iSCSI and DMA blocks assume that they
> > have Real Pages (tm) passed to block I/O requests, and apparently XFS
> > ran into problems when sending vmalloc'ed pages. I don't know if this
> > is a problem if we pass the bio layer addresses coming from the SLAB
> > allocator, but oral tradition seems to indicate this is problematic,
> > although no one has given me the full chapter and verse explanation
> > about why this is so.
>
> Actually at least iscsi now has a workaround for that by checking for
> PageSlab. Back when we deal with the XFS issue that check was only
> available with debug options enabled. I tried to sort it out by
> agreeing with the block and iscsi folks that either
>
> a) we need to send down refcountable pages
> b) block drivers need to accept kmalloced pages
>
> I could not get any afreement, and thus we stopped using the kmalloced
> pages in XFS which was easy enough. A bit later people fixed iscsi,
> but we still don't have formal rules about what is acceptable to the
> block layer.
It would be good to get some formal rules articulated. Someone has
asserted that the AoE (ATA over Ethernet) driver will barf on
SLAB/kmalloc allocated memory. True, false?
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists