[Drbd-dev] Re: [DRBD-cvs] r1559 - in branches/drbd-0.7: drbd user
Philipp Reisner
philipp.reisner at linbit.com
Fri Sep 24 14:08:14 CEST 2004
On Friday 24 September 2004 13:40, Lars Ellenberg wrote:
> [ bitte reply-to in drbd-cvs auf drbd-dev setzen ]
>
ack. done.
> > -#define DRBD_MAX_SECTORS \
> > +#if ( !defined(CONFIG_LBD) ) && ( BITS_PER_LONG == 32 )
> > +# define DRBD_MAX_SECTORS (0xffffffffLU)
> > +#else
> > +# define DRBD_MAX_SECTORS \
> > ( (MD_RESERVED_SIZE*2LL - MD_BM_OFFSET) *
> > (1LL<<(BM_EXT_SIZE_B-9)) ) +#endif
>
> oh well...
> why not simple (sector_t) ?
> just because it is then 0xffdc0000 instead of 0xffffffff ?
> so what ...
I did not know that it would be 0xffdc0000, I did not do the
math... , OTOH it is made it explicit.
-philipp
--
: Dipl-Ing Philipp Reisner Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria http://www.linbit.com :
More information about the drbd-dev
mailing list