Re: [PATCH] 9pfs: fix wrong I/O block size in Rgetattr

2021-09-23 Thread Christian Schoenebeck
On Donnerstag, 23. September 2021 10:40:58 CEST Greg Kurz wrote: > On Wed, 22 Sep 2021 17:55:02 +0200 > > Christian Schoenebeck wrote: > > On Mittwoch, 22. September 2021 17:42:08 CEST Philippe Mathieu-Daudé wrote: > > > On 9/22/21 15:13, Christian Schoenebeck wrote: > > > > When client sent a 9

Re: [PATCH] 9pfs: fix wrong I/O block size in Rgetattr

2021-09-23 Thread Greg Kurz
On Wed, 22 Sep 2021 17:55:02 +0200 Christian Schoenebeck wrote: > On Mittwoch, 22. September 2021 17:42:08 CEST Philippe Mathieu-Daudé wrote: > > On 9/22/21 15:13, Christian Schoenebeck wrote: > > > When client sent a 9p Tgetattr request then the wrong I/O block > > > size value was returned by 9

Re: [PATCH] 9pfs: fix wrong I/O block size in Rgetattr

2021-09-22 Thread Christian Schoenebeck
On Mittwoch, 22. September 2021 17:42:08 CEST Philippe Mathieu-Daudé wrote: > On 9/22/21 15:13, Christian Schoenebeck wrote: > > When client sent a 9p Tgetattr request then the wrong I/O block > > size value was returned by 9p server; instead of host file > > system's I/O block size it should rathe

Re: [PATCH] 9pfs: fix wrong I/O block size in Rgetattr

2021-09-22 Thread Philippe Mathieu-Daudé
On 9/22/21 15:13, Christian Schoenebeck wrote: When client sent a 9p Tgetattr request then the wrong I/O block size value was returned by 9p server; instead of host file system's I/O block size it should rather return an I/O block size according to 9p session's 'msize' value, because the value re

[PATCH] 9pfs: fix wrong I/O block size in Rgetattr

2021-09-22 Thread Christian Schoenebeck
When client sent a 9p Tgetattr request then the wrong I/O block size value was returned by 9p server; instead of host file system's I/O block size it should rather return an I/O block size according to 9p session's 'msize' value, because the value returned to client should be an "optimum" block siz