| To: | dann <dannf@xxxxxx> |
|---|---|
| Subject: | Re: buffer_head->b_size & ia64 |
| From: | Nathan Scott <nathans@xxxxxxx> |
| Date: | Sat, 2 Nov 2002 17:31:59 +1100 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <20021102001918.GA3453@xxxxxxxxxxxxxxx>; from dannf@xxxxxx on Fri, Nov 01, 2002 at 05:19:18PM -0700 |
| References: | <20021101231258.GA28163@xxxxxxxxxxxxxxxxxxxx> <1036193568.17202.234.camel@xxxxxxxxxxxxxxxxxxxx> <20021102001918.GA3453@xxxxxxxxxxxxxxx> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
On Fri, Nov 01, 2002 at 05:19:18PM -0700, dann wrote:
> ok, didn't realize the b_size change was to support large pages.
> so, for my purposes (i'm using 8K pages), i should be able to just
In that case (8K), all you need to do is remove the ASSERT that
you're tripping in pagebuf and everything else will continue to
function as is (you will never get a sector > 0xffff).
Or better, use Steve's patch - it is a more flexible solution to
the way I did this & will go into the tree soon (if not already).
> > >
> > > The following ASSERT is in page_buf.c:
> > >
> > > /* The b_size field of struct buffer_head is an unsigned short
> > > * ... we may need to split this request up. [64K is too big]
> > > */
> > > ASSERT(sizeof(bh->b_size) == 2);
> > > while (sector > 0xffff) {
> > > sector >>= 1;
> > > blk_length++;
> > > }
> > >
cheers.
--
Nathan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: buffer_head->b_size & ia64, dann |
|---|---|
| Next by Date: | Re: upgrading gcc, Seth Mos |
| Previous by Thread: | Re: buffer_head->b_size & ia64, dann |
| Next by Thread: | TAKE - Correct build without CONFIG_KDB, Keith Owens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |