Re: Direct I/O
От | Thomas Munro |
---|---|
Тема | Re: Direct I/O |
Дата | |
Msg-id | CA+hUKGLrqOPsriO=pnYDBHcnMh9hzhxC-ds+yudRAT4GEE3Eqg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Direct I/O (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: Direct I/O
Re: Direct I/O |
Список | pgsql-hackers |
On Mon, Apr 10, 2023 at 2:57 PM Andres Freund <andres@anarazel.de> wrote: > Have you tried to write a reproducer for this that doesn't involve postgres? I tried a bit. I'll try harder soon. > ... What kernel version did you repro > this on Thomas? Debian's 6.0.10-2 kernel (Debian 12 on a random laptop). Here's how I set up a test btrfs in case someone else wants a head start: truncate -s2G 2GB.img sudo losetup --show --find 2GB.img sudo mkfs -t btrfs /dev/loop0 # the device name shown by losetup sudo mkdir /mnt/tmp sudo mount /dev/loop0 /mnt/tmp sudo chown $(whoami) /mnt/tmp cd /mnt/tmp /path/to/initdb -D pgdata ... (see instructions further up for postgres command line + queries to run)
В списке pgsql-hackers по дате отправления: