Re: Crash on using the poll ring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/21/20 7:51 AM, Jens Axboe wrote:
> On 2/21/20 6:17 AM, Glauber Costa wrote:
>> Hi
>>
>> Today I found a crash when adding code for the poll ring to my implementation.
>> Kernel is 2b58a38ef46e91edd68eec58bdb817c42474cad6
>>
>> Here's how to reproduce:
>>
>> code at
>> https://github.com/glommer/seastar.git branch poll-ring
>>
>> 1. same as previous steps to configure seastar, but compile with:
>> ninja -C build/release apps/io_tester/io_tester
>>
>> 2. Download the yaml file attached
>>
>> 3. Run with:
>>
>> ./build/release/apps/io_tester/io_tester --conf ~/test.yaml --duration
>> 15 --directory /var/disk1  --reactor-backend=uring --smp 1
>>
>> (directory must be on xfs because we do c++ but we're not savages)
> 
> This is due to killing the dummy callback function on the task work.
> I'll play with this a bit and see how we can fix it.

I re-did the code to use task_works instead, can you try the current
one? Same branch, sha is currently 9ba3cd1b8923.

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux