Re: [dm-devel] regression: data corruption with ext4 on LUKS on nvme with torvalds master

2021-07-12 Thread Samuel Mendoza-Jonas
On Fri, May 14, 2021 at 07:26:14PM +0900, Changheun Lee wrote: > > On 5/13/21 7:15 AM, Theodore Ts'o wrote: > > > On Thu, May 13, 2021 at 06:42:22PM +0900, Changheun Lee wrote: > > >> > > >> Problem might be casued by exhausting of memory. And memory exhausting > > >> would be caused by setting of

Re: [dm-devel] regression: data corruption with ext4 on LUKS on nvme with torvalds master

2021-05-17 Thread Changheun Lee
> On 5/13/21 7:15 AM, Theodore Ts'o wrote: > > On Thu, May 13, 2021 at 06:42:22PM +0900, Changheun Lee wrote: > >> > >> Problem might be casued by exhausting of memory. And memory exhausting > >> would be caused by setting of small bio_max_size. Actually it was not > >> reproduced in my VM environm

Re: [dm-devel] regression: data corruption with ext4 on LUKS on nvme with torvalds master

2021-05-14 Thread Mikulas Patocka
On 5/13/21 7:15 AM, Theodore Ts'o wrote: > On Thu, May 13, 2021 at 06:42:22PM +0900, Changheun Lee wrote: >> >> Problem might be casued by exhausting of memory. And memory exhausting >> would be caused by setting of small bio_max_size. Actually it was not >> reproduced in my VM environment at fi

Re: [dm-devel] regression: data corruption with ext4 on LUKS on nvme with torvalds master

2021-05-14 Thread Mikulas Patocka
On Thu, 13 May 2021, Bart Van Assche wrote: > On 5/13/21 12:22 PM, Mikulas Patocka wrote: > > We already had problems with too large bios in dm-crypt and we fixed it by > > adding this piece of code: > > > > /* > > * Check if bio is too large, split as needed. > > */

Re: [dm-devel] regression: data corruption with ext4 on LUKS on nvme with torvalds master

2021-05-13 Thread Bart Van Assche
On 5/13/21 12:22 PM, Mikulas Patocka wrote: > We already had problems with too large bios in dm-crypt and we fixed it by > adding this piece of code: > > /* > * Check if bio is too large, split as needed. > */ > if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_VECS <

Re: [dm-devel] regression: data corruption with ext4 on LUKS on nvme with torvalds master

2021-05-13 Thread Mikulas Patocka
> On 5/13/21 7:15 AM, Theodore Ts'o wrote: > > On Thu, May 13, 2021 at 06:42:22PM +0900, Changheun Lee wrote: > >> > >> Problem might be casued by exhausting of memory. And memory exhausting > >> would be caused by setting of small bio_max_size. Actually it was not > >> reproduced in my VM envir