Re: [PATCH] block/file-posix: Optimize for macOS

2021-02-24 Thread Akihiko Odaki
2021年2月25日(木) 2:31 Kevin Wolf : > > Am 24.02.2021 um 17:27 hat Stefan Hajnoczi geschrieben: > > On Fri, Feb 19, 2021 at 05:51:48PM +0900, Akihiko Odaki wrote: > > > This commit introduces "punch hole" operation and optimizes transfer > > > block size for macOS. > > > > > > This commit introduces tw

Re: [PATCH] block/file-posix: Optimize for macOS

2021-02-24 Thread Kevin Wolf
Am 24.02.2021 um 17:27 hat Stefan Hajnoczi geschrieben: > On Fri, Feb 19, 2021 at 05:51:48PM +0900, Akihiko Odaki wrote: > > This commit introduces "punch hole" operation and optimizes transfer > > block size for macOS. > > > > This commit introduces two additional members, > > discard_granularity

Re: [PATCH] block/file-posix: Optimize for macOS

2021-02-24 Thread Stefan Hajnoczi
On Fri, Feb 19, 2021 at 05:51:48PM +0900, Akihiko Odaki wrote: > This commit introduces "punch hole" operation and optimizes transfer > block size for macOS. > > This commit introduces two additional members, > discard_granularity and opt_io to BlockSizes type in > include/block/block.h. Also, the

Re: [PATCH] block/file-posix: Optimize for macOS

2021-02-19 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20210219085148.90545-1-akihiko.od...@gmail.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20210219085148.90545-1-akihiko.od...@gmail.com Subject: [PATCH] block/file-posix

[PATCH] block/file-posix: Optimize for macOS

2021-02-19 Thread Akihiko Odaki
This commit introduces "punch hole" operation and optimizes transfer block size for macOS. This commit introduces two additional members, discard_granularity and opt_io to BlockSizes type in include/block/block.h. Also, the members of the type are now optional. Set -1 to discard_granularity and 0