Re: [PATCH v6 1/2] io: Add support for MSG_PEEK for socket channel

2023-02-02 Thread Juan Quintela
Daniel P. Berrangé wrote: > On Thu, Feb 02, 2023 at 02:39:05PM +0100, Juan Quintela wrote: >> Daniel P. Berrangé wrote: >> > On Thu, Feb 02, 2023 at 01:51:28PM +0100, Juan Quintela wrote: >> >> Daniel P. Berrangé wrote: >> >> > On Thu, Feb 02, 2023 at 01:22:12PM +0100, Juan Quintela wrote: >> >>

Re: [PATCH v6 1/2] io: Add support for MSG_PEEK for socket channel

2023-02-02 Thread Daniel P . Berrangé
On Thu, Feb 02, 2023 at 02:39:05PM +0100, Juan Quintela wrote: > Daniel P. Berrangé wrote: > > On Thu, Feb 02, 2023 at 01:51:28PM +0100, Juan Quintela wrote: > >> Daniel P. Berrangé wrote: > >> > On Thu, Feb 02, 2023 at 01:22:12PM +0100, Juan Quintela wrote: > >> >> "manish.mishra" wrote: > >> >

Re: [PATCH v6 1/2] io: Add support for MSG_PEEK for socket channel

2023-02-02 Thread Juan Quintela
Daniel P. Berrangé wrote: > On Thu, Feb 02, 2023 at 01:51:28PM +0100, Juan Quintela wrote: >> Daniel P. Berrangé wrote: >> > On Thu, Feb 02, 2023 at 01:22:12PM +0100, Juan Quintela wrote: >> >> "manish.mishra" wrote: >> >> > MSG_PEEK peeks at the channel, The data is treated as unread and >> >>

Re: [PATCH v6 1/2] io: Add support for MSG_PEEK for socket channel

2023-02-02 Thread Daniel P . Berrangé
On Thu, Feb 02, 2023 at 01:51:28PM +0100, Juan Quintela wrote: > Daniel P. Berrangé wrote: > > On Thu, Feb 02, 2023 at 01:22:12PM +0100, Juan Quintela wrote: > >> "manish.mishra" wrote: > >> > MSG_PEEK peeks at the channel, The data is treated as unread and > >> > the next read shall still return

Re: [PATCH v6 1/2] io: Add support for MSG_PEEK for socket channel

2023-02-02 Thread Juan Quintela
Daniel P. Berrangé wrote: > On Thu, Feb 02, 2023 at 01:22:12PM +0100, Juan Quintela wrote: >> "manish.mishra" wrote: >> > MSG_PEEK peeks at the channel, The data is treated as unread and >> > the next read shall still return this data. This support is >> > currently added only for socket class. E

Re: [PATCH v6 1/2] io: Add support for MSG_PEEK for socket channel

2023-02-02 Thread Daniel P . Berrangé
On Thu, Feb 02, 2023 at 01:22:12PM +0100, Juan Quintela wrote: > "manish.mishra" wrote: > > MSG_PEEK peeks at the channel, The data is treated as unread and > > the next read shall still return this data. This support is > > currently added only for socket class. Extra parameter 'flags' > > is add

Re: [PATCH v6 1/2] io: Add support for MSG_PEEK for socket channel

2023-02-02 Thread Juan Quintela
"manish.mishra" wrote: > MSG_PEEK peeks at the channel, The data is treated as unread and > the next read shall still return this data. This support is > currently added only for socket class. Extra parameter 'flags' > is added to io_readv calls to pass extra read flags like MSG_PEEK. > > Reviewed

Re: [PATCH v6 1/2] io: Add support for MSG_PEEK for socket channel

2023-02-01 Thread Juan Quintela
"manish.mishra" wrote: > MSG_PEEK peeks at the channel, The data is treated as unread and > the next read shall still return this data. This support is > currently added only for socket class. Extra parameter 'flags' > is added to io_readv calls to pass extra read flags like MSG_PEEK. > > Reviewed