On 01/05/2012 02:58 PM, Mike Christie wrote: > On 01/05/2012 01:26 AM, Ulrich Windl wrote: >> Hi! >> >> May I ask the related question, _why_ is a power of two needed for value >> (R2T)? >> > > The iscsi code uses this kernel data struct called a kfifo which > requires the size to be a power of 2. And actually as I look at it now > to double check, the comments for kfifo say you can pass it whatever > size you want and it will now be rounded up for you. >
I meant rounded down. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
