[DRBD-user] drbd 7 + xfs + 2.6.7

Lars Marowsky-Bree lmb at suse.de
Sat Jul 24 15:08:48 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 2004-07-24T07:07:18,
   Lars Marowsky-Bree <lmb at suse.de> said:

> I also discussed this with Andrea and Chris Mason over dinner, and they
> basically said it's an XFS bug - pagecount() is a macro which ought to
> work correctly for slab pages too, however XFS is doing something funny.
> Please also bring this to attention at LKML.

Oh. I just noticed, we are using page_count() and not pagecount(); the
second one should yield the right number for slab pages. However, I'm
mostly sure we still need special handling for the slab pages.

page_count() will only yield the right number for the first part of a
split slab page and return 0 for any other one; the macro pagecount()
will yield that very number for all splits of a page.


Sincerely,
    Lars Marowsky-Brée <lmb at suse.de>

-- 
High Availability & Clustering	    \ ever tried. ever failed. no matter.
SUSE Labs, Research and Development | try again. fail again. fail better.
SUSE LINUX AG - A Novell company    \ 	-- Samuel Beckett




More information about the drbd-user mailing list