nvmet-rdma: SRQ per completion vector
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 4/40 of 3 patches 0 repliesNew
- v2 posting 3/40 of 3 patches 0 repliesSuperseded
- v2 posting 2/40 of 3 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/4 | 2 of 3 patches | 0 replies | Superseded |
Patches in v2 posting 4/4 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] nvmet-rdma: SRQ per completion vector
Quoted 62 lines · Sagi Grimberg
Quoted 54 lines
Quoted 20 lines
Quoted 11 lines
Quoted 11 lines
Quoted 7 lines
We can implement it for isert, but I think it's better to see how the CQ
pool will be defined first.
It can bring a big benefit and improvement forib_srpt(similar to NVMEoF
target) but I'm not sure if I can commit for that one soon..Too bad, but I don't see inclusion of generic SRQ pool code in RDMA subsystem without actual conversion of existing ULP clients.
Quoted 8 lines
Quoted 2 lines
Thanks
This patchset adds this feature to NVMEoF target so actually there are ULPs
that use it. Same issue we have withmr_poolthat only RDMArw.cuse it (Now
we're adding it to NVMEoF initiators too - in review).Quoted 6 lines
The difference between your code and
mr_poolis thatmr_poolis part of RDMA/core and in use by RDMA/core (rw.c), which in use by all ULPs.However if you insist, we can remove
EXPORT_SYMBOLfrommr_poolimplementation, because of being part of RDMA/core and it blows symbols map without need. Should I?No, we'll use it in NVMEoF host as I mentioned earlier.
Quoted 20 lines
In your case, you are proposing generic interface, which supposed to be good fit for all ULPs but without those ULPs.
Quoted 3 lines
I can add
srq_poolto iSER target code but I don't want to re-write it again
in few weeks, when the CQ pool will be added.So, please finalize interface in RFC stage and once you are ready, proceed to
the actual patches.Quoted 2 lines
Regarding other ULPs, we don't have a testing environment for them so I prefer not to commit on their implementation in the near future.
You are not expected to have all testing environment, it is their (ULPs maintainers) responsibility to test your conversion, because you are doing conversion to generic interface.
Quoted 1 line
Quoted 5 lines
Quoted 2 lines
I don't know why we can't add this feature "as is". Other ULPs maintainers might use it once it will be pushed.
Sorry, but it is not how kernel development process works. "You propose -> you do" and not "You propose -> they do".
Quoted 7 lines
I'm not changing an interface here. So all the other ULPs that use SRQ (ipoib and srpt) currently will cuntinue using it.
I don't know why this patchset brought up the idea to add SRQ pools to isert/svcrdma/etc.., but knowing that there are patches (under discussions) that will have a big enfluance on these drivers (at least isert), it doesn't make sence to implement *new* feature (SRQ usage) and chage it a week afterwards.
Quoted 2 lines
I'm almost sorry I asked :)
There is nothing to sorry about it. It was just a matter of time when we would see it.
The reason why I'm so direct in this case, is related to the fact that resource pools are really beneficial when they are used for create/destroy of resources in (massive) dynamic operations.
In the proposed code (nvme-rdma), it is not the case and resources (SRQ) are statically allocated, hence it makes no sense to me to propose new interface without seeing any benefits from it.
This is why I'm asking from Max or implement real users of this interface or don't provide that interface at all.
Quoted 13 lines
Max,
Leon's request while adding more work for you is valid as I see it. Leon and Doug (like other kernel maintainers and others in our community) are interested in improving the RDMA core subsystem in the sense of offering useful interfaces and having the consumers implement as less as possible. Making useful features/interfaces (like in your case) available for (and adopted by) most of the common consumers is helping the community and the subsystem as a whole rather than helping the specific module we happen to be focused on at that specific time. The long term goal is to make the consumers do as much as possible with implementing as less as possible.
Quoted 6 lines
Having said that, if it was up to me, I wouldn't say its a hard requirement but definitely encouraged (I try to do it for the core interfaces I happen to offer and I know others have too).
I think that Doug and others should really decide on the direction here.What do others think?
Right, I'm not alone here.
I already said my position in this mailing list, but will repeat it:
core work is must to move forward and to make this community better.
Thanks
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20171120/044e20d8/attachment.sig>