Re: btrfs send/receive review by vfs folks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matrin,

On Sat, Oct 6, 2012 at 11:40 AM, Martin Steigerwald <Martin@xxxxxxxxxxxx> wrote:
> Am Donnerstag, 4. Oktober 2012 schrieb Alex Lyakas:
>> Hi Jan,
>> as I promised, here is some code for you to look at.
>>
>> First I will describe the approach in general.
>>
>> # Get rid of the pipe. Instead, user-space passes a buffer and kernel
>> fills the specified user-space buffer with commands.
>> # When the buffer is full, kernel stops generating commands and
>> returns a checkpoint to the user-space.
>
> Can it just fill a second buffer while userspace command handles the first?
No, at this point kernel receives only one buffer and fills it up.
Can you pls elaborate more what improvement you have in mind? Like
user-space sending a list of buffers to the kernel in one shot? Or
that user-space handles kind of producer-consumer pool of buffers and
works on full buffers while kernel fills the empty ones (this, of
course, can work).

In general, my direction was to make the kernel call stateless, which
makes the user-space part more flexible.

Thanks,
Alex.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux