Re: Can fallocate() ops be emulated better using SMB request compounding?

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

 



> What do you think about the idea of having the server see a specifically
> arranged compounded pair and turn them into an op that can't otherwise be
> represented in the protocol?

That makes sense for some cases (open, queryinfo e.g.) and has been
done in the past for SMB3 servers.

On Thu, Dec 7, 2023 at 11:50 AM David Howells <dhowells@xxxxxxxxxx> wrote:
>
> Jeremy Allison <jra@xxxxxxxxx> wrote:
>
> > >Further, are the two ops then essentially done atomically?
> >
> > No. They are processed (at least in Samba) as two separate
> > requests and can be raced by local or other remote access.
>
> So just compounding them would leave us in the same situation we are in now -
> which would be fine.
>
> What do you think about the idea of having the server see a specifically
> arranged compounded pair and turn them into an op that can't otherwise be
> represented in the protocol?
>
> Or is it better to try and get the protocol extended?
>
> David
>


-- 
Thanks,

Steve





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux