lustre-devel-lustre.org archive mirror
 help / color / mirror / Atom feed
* [lustre-devel] Request arc buffer, zerocopy
@ 2019-06-13 11:54 Anna Fuchs
  2019-06-13 17:26 ` Andreas Dilger
  2019-06-26 13:11 ` Anna Fuchs
  0 siblings, 2 replies; 6+ messages in thread
From: Anna Fuchs @ 2019-06-13 11:54 UTC (permalink / raw)
  To: lustre-devel

Dear all,

in osd-zfs/osd_io.c:osd_bufs_get_write you can find a comment regarding 
zerocopy:

	/*
	 * currently only full blocks are subject to zerocopy approach:
	 * so that we're sure nobody is trying to update the same block
	 */

Whenever a block to be written is full, an arc buffer is requested, 
otherwise alloc_page.

I do not really understand the conclusion. Why and how do full blocks 
prevent updates?
And put it differently - why not to try zerocopy for not full blocks?
What could happen if I tried to request an arc buffer for e.g. a block 
with missing last page?

I would be greateful for details.
Best regards
Anna






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20190613/b506a814/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-05 18:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-13 11:54 [lustre-devel] Request arc buffer, zerocopy Anna Fuchs
2019-06-13 17:26 ` Andreas Dilger
2019-06-26 13:11 ` Anna Fuchs
2019-06-27 18:13   ` Matthew Ahrens
2019-06-28  9:50     ` Anna Fuchs
2019-07-05 18:15       ` Matthew Ahrens

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).