* RE: [linux-rdma/rdma-core] libibverb/examples: Add command line option to enable buffer validation (#273)
[not found] ` <BN3PR07MB257832CED7D7E8902C08931DF80A0-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2017-12-14 14:09 ` Amrani, Ram
[not found] ` <BN3PR07MB25782A5BA5D0999F73040CC8F80A0-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Amrani, Ram @ 2017-12-14 14:09 UTC (permalink / raw)
To: Jason Gunthorpe, Yuval Shaia
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
[resend as plain text]
Hi Jason, Yuval,
I’ve started a review on this a couple of days ago. It’s the first time I’ve done this.
Did you get e-mails about it? How come it gets merged without response?
Please comment on my remarks.
Thanks,
Ram
From: Jason Gunthorpe [mailto:notifications@github.com]
Sent: Wednesday, December 13, 2017 11:34 PM
To: linux-rdma/rdma-core <mailto:rdma-core@noreply.github.com>
Cc: ramranix <mailto:ram.amrani@gmail.com>; Comment <mailto:comment@noreply.github.com>
Subject: Re: [linux-rdma/rdma-core] libibverb/examples: Add command line option to enable buffer validation (#273)
Merged https://github.com/linux-rdma/rdma-core/pull/273.
—
You are receiving this because you commented.
Reply to this email directly, https://github.com/linux-rdma/rdma-core/pull/273#event-1386542099, or https://github.com/notifications/unsubscribe-auth/ANMBVianRscywuH7irUpKgtlyDgL-UXEks5tAELZgaJpZM4Q99Mf.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [linux-rdma/rdma-core] libibverb/examples: Add command line option to enable buffer validation (#273)
[not found] ` <BN3PR07MB25782A5BA5D0999F73040CC8F80A0-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2017-12-19 9:14 ` Amrani, Ram
[not found] ` <BN3PR07MB2578FA8F232AF156B35B134EF80F0-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Amrani, Ram @ 2017-12-19 9:14 UTC (permalink / raw)
To: Jason Gunthorpe, Yuval Shaia
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1021 bytes --]
> Hi Jason, Yuval,
> Iâve started a review on this a couple of days ago. Itâs the first time Iâve done this.
> Did you get e-mails about it? How come it gets merged without response?
> Please comment on my remarks.
>
> Thanks,
> Ram
>
I still didn't see any e-mail.
Probably the review doesn't work after the patch has been committed.
My comments:
+ printf(" -c, --chk validate received buffer\n");
Why not have the default set to 'validate'?
The only reason not to use validate is for performance and I don't think this application checks that...
Still, if this is important then the user can choose to disable validation.
+ for (int i = 0; i < size; i += page_size)
I expect (and IMHO users expect too) that data validation is on the entire buffer. What is happening here is that only a single byte per page is checked.
Thanks,
Ram
N§²æìr¸yúèØb²X¬¶Ç§vØ^)Þº{.nÇ+·¥{±Ù{ayº\x1dÊÚë,j\a¢f£¢·h»öì\x17/oSc¾Ú³9uÀ¦æåÈ&jw¨®\x03(éÝ¢j"ú\x1a¶^[m§ÿïêäz¹Þàþf£¢·h§~m
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-rdma/rdma-core] libibverb/examples: Add command line option to enable buffer validation (#273)
[not found] ` <BN3PR07MB2578FA8F232AF156B35B134EF80F0-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2017-12-20 18:22 ` Yuval Shaia
2017-12-20 18:51 ` Amrani, Ram
2017-12-20 22:58 ` Jason Gunthorpe
0 siblings, 2 replies; 5+ messages in thread
From: Yuval Shaia @ 2017-12-20 18:22 UTC (permalink / raw)
To: Amrani, Ram
Cc: Jason Gunthorpe,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On Tue, Dec 19, 2017 at 09:14:05AM +0000, Amrani, Ram wrote:
> > Hi Jason, Yuval,
> > I’ve started a review on this a couple of days ago. It’s the first time I’ve done this.
> > Did you get e-mails about it? How come it gets merged without response?
> > Please comment on my remarks.
> >
> > Thanks,
> > Ram
> >
>
> I still didn't see any e-mail.
> Probably the review doesn't work after the patch has been committed.
Have no idea why?
So, for rdma-core, i understood that PR on github is much more powerful
than linux-rdma mailing list but i don't mind running on both next time.
> My comments:
>
> + printf(" -c, --chk validate received buffer\n");
> Why not have the default set to 'validate'?
Because we don't want to break existing user-created scripts so default
should be - "the same as it was!".
> The only reason not to use validate is for performance and I don't think this application checks that...
Yeah, the validation is out of the scope of performance accounting.
> Still, if this is important then the user can choose to disable validation.
>
> + for (int i = 0; i < size; i += page_size)
> I expect (and IMHO users expect too) that data validation is on the entire buffer. What is happening here is that only a single byte per page is checked.
Because i believe (and sure i maybe mistaken here) is that errors may happen
in a page boundaries. If a full buffer validation is needed then we can add
a check validation level such as "-c 0" for page boundaries and "-c 1" for
full check.
>
> Thanks,
> Ram
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [linux-rdma/rdma-core] libibverb/examples: Add command line option to enable buffer validation (#273)
2017-12-20 18:22 ` Yuval Shaia
@ 2017-12-20 18:51 ` Amrani, Ram
2017-12-20 22:58 ` Jason Gunthorpe
1 sibling, 0 replies; 5+ messages in thread
From: Amrani, Ram @ 2017-12-20 18:51 UTC (permalink / raw)
To: Yuval Shaia
Cc: Jason Gunthorpe,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 427 bytes --]
> Because i believe (and sure i maybe mistaken here) is that errors may happen
> in a page boundaries. If a full buffer validation is needed then we can add
> a check validation level such as "-c 0" for page boundaries and "-c 1" for
> full check.
That would be great.
Thanks!
Ram
N§²æìr¸yúèØb²X¬¶Ç§vØ^)Þº{.nÇ+·¥{±Ù{ayº\x1dÊÚë,j\a¢f£¢·h»öì\x17/oSc¾Ú³9uÀ¦æåÈ&jw¨®\x03(éÝ¢j"ú\x1a¶^[m§ÿïêäz¹Þàþf£¢·h§~m
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-rdma/rdma-core] libibverb/examples: Add command line option to enable buffer validation (#273)
2017-12-20 18:22 ` Yuval Shaia
2017-12-20 18:51 ` Amrani, Ram
@ 2017-12-20 22:58 ` Jason Gunthorpe
1 sibling, 0 replies; 5+ messages in thread
From: Jason Gunthorpe @ 2017-12-20 22:58 UTC (permalink / raw)
To: Yuval Shaia
Cc: Amrani, Ram, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On Wed, Dec 20, 2017 at 08:22:21PM +0200, Yuval Shaia wrote:
> On Tue, Dec 19, 2017 at 09:14:05AM +0000, Amrani, Ram wrote:
> > > Hi Jason, Yuval,
> > > I’ve started a review on this a couple of days ago. It’s the first time I’ve done this.
> > > Did you get e-mails about it? How come it gets merged without response?
> > > Please comment on my remarks.
> > >
> > > Thanks,
> > > Ram
> > >
> >
> > I still didn't see any e-mail.
> > Probably the review doesn't work after the patch has been committed.
>
> Have no idea why?
> So, for rdma-core, i understood that PR on github is much more powerful
> than linux-rdma mailing list but i don't mind running on both next time.
PR emails only go to a few people. I saw an email notice from Ram after he
posted his review.. Perhaps the submitter is not included after the PR
is closed? Maybe your github notifications are not working?
This limited audiance is a big part of why Leon asks for patches to be
sent to the mailing list as well as in a PR..
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-12-20 22:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <linux-rdma/rdma-core/pull/273@github.com>
[not found] ` <linux-rdma/rdma-core/pull/273/issue_event/1386542099@github.com>
[not found] ` <BN3PR07MB257832CED7D7E8902C08931DF80A0@BN3PR07MB2578.namprd07.prod.outlook.com>
[not found] ` <BN3PR07MB257832CED7D7E8902C08931DF80A0-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-12-14 14:09 ` [linux-rdma/rdma-core] libibverb/examples: Add command line option to enable buffer validation (#273) Amrani, Ram
[not found] ` <BN3PR07MB25782A5BA5D0999F73040CC8F80A0-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-12-19 9:14 ` Amrani, Ram
[not found] ` <BN3PR07MB2578FA8F232AF156B35B134EF80F0-EldUQEzkDQfpW3VS/XPqkOFPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-12-20 18:22 ` Yuval Shaia
2017-12-20 18:51 ` Amrani, Ram
2017-12-20 22:58 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).