Re: [PATCH] RDMA/cma: fix first byte overwritten for AF_IB

2014-12-17 Thread Jinpu Wang
Hi Or, We have some trouble in the past about IPoIB support about neighbour discovery, AF_IB doesn't relay on IPoIB, so we think have another option maybe give us more safe in some cases. On Wed, Dec 17, 2014 at 11:40 AM, Or Gerlitz ogerl...@mellanox.com wrote: On 12/16/2014 5:43 PM, Jack

RFC: FMR support in SRP

2014-09-19 Thread Jinpu Wang
Hi Bart and all, During go through SRP FMR support, I found ib_srp pre-alloc fmr_list/map_page in each request, fmr_list are alloced as many as target-cmd_sg_cnt I add some debug message when run fio test with different settings. Result show, state.ndesc and state.nmdesc is 1, state.npages is 0,

Re: RFC: FMR support in SRP

2014-09-19 Thread Jinpu Wang
Hello Jack, Did you know that file descriptor 0 corresponds to stdin ? With command-line option -w the test program reads data from stdin and sends that data to a SCSI device. I think the test program is waiting for you to provide input data :-) Bart. Thanks Bart, Now I know it:) This

Re: RFC: FMR support in SRP

2014-09-19 Thread Jinpu Wang
On Fri, Sep 19, 2014 at 5:35 PM, Jinpu Wang jinpu.w...@profitbricks.com wrote: Hello Jack, Did you know that file descriptor 0 corresponds to stdin ? With command-line option -w the test program reads data from stdin and sends that data to a SCSI device. I think the test program is waiting

Re: list corruption in IPOIB

2013-05-20 Thread Jinpu Wang
which list_del do you mean? in ipoib_cm_tx_start? On Mon, May 20, 2013 at 11:05 AM, Or Gerlitz ogerl...@mellanox.com wrote: On 19/05/2013 12:17, Jack Wang wrote: we added inject_bug sysfs node to make function run into error case, like something below. Yes, you are right, we want to speedup

Re: list corruption in IPOIB

2013-05-20 Thread Jinpu Wang
:10, Jinpu Wang wrote: which list_del do you mean? in ipoib_cm_tx_start? yes, but not only, you can start with 5KG hammer and convert all thesehits to list_del_init linux-2.6]# grep list_del drivers/infiniband/ulp/ipoib/*.c | grep neigh drivers/infiniband/ulp/ipoib/ipoib_cm.c: list_del(neigh