[PATCH 03/17] block: provide a direct_make_request helper

Sagi Grimberg sagi at grimberg.me
Thu Oct 19 07:42:46 PDT 2017


>>> +/**
>>> + * direct_make_request - hand a buffer directly to its device driver for I/O
>>> + * @bio:  The bio describing the location in memory and on the device.
>>> + *
>>> + * This function behaves like generic_make_request(), but does not protect
>>> + * against recursion.  Must only be used if the called driver is known
>>> + * to not call generic_make_request (or direct_make_request) again from
>>> + * its make_request function.  (Calling direct_make_request again from
>>> + * a workqueue is perfectly fine as that doesn't recurse).
>>
>> Question: are the double spaces on purpose?
> 
> Yes.  It's a very common style, and especially useful with monospace fonts.
> https://en.wikipedia.org/wiki/Sentence_spacing for reference.
> 

Thanks.



More information about the Linux-nvme mailing list