[Stgt-devel] ibmvio - rdma error

Brian King brking
Fri Apr 6 20:02:50 CEST 2007


FUJITA Tomonori wrote:
> From: Bastian Blank <waldi at berlios.de>
> Subject: Re: [Stgt-devel] ibmvio - rdma error
> Date: Fri, 6 Apr 2007 18:13:05 +0200
> 
>> On Sat, Apr 07, 2007 at 12:36:04AM +0900, FUJITA Tomonori wrote:
>>> diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/drivers/scsi/ibmvscsi/ibmvstgt.c
>>> index a7fbd10..46f9ca1 100644
>>> --- a/drivers/scsi/ibmvscsi/ibmvstgt.c
>>> +++ b/drivers/scsi/ibmvscsi/ibmvstgt.c
>>> @@ -35,7 +35,7 @@
>>>  #include "ibmvscsi.h"
>>>  
>>>  #define	INITIAL_SRP_LIMIT	16
>>> -#define	DEFAULT_MAX_SECTORS	512
>>> +#define	DEFAULT_MAX_SECTORS	128
>> 256, not 128.
> 
> Are you sure 256 should work though it seems to work? We know 128
> works. If you definitely sure (e.g. you read the IBM document), I'm
> happy to use 256.

128k is the max rdma transfer size according to the spec,
so 256 should work fine.

Brian

-- 
Brian King
eServer Storage I/O
IBM Linux Technology Center



More information about the stgt mailing list