[Bugs] [Bug 1759829] write-behind xlator generate coredump, when run "glfs_vol_set_IO_ERR.t"

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 9 09:14:19 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1759829



--- Comment #1 from Rongjunfei <rongjunfei at estor.com.cn> ---
1.write-behind.c
wb_inode_destroy 
{
   ......
   GF_ASSERT(list_empty(&wb_inode->todo));
   ......
}

2.glfs_vol_set_IO_ERR.c
write_something(glfs_t *fs);
{
   ......
   glfs_write(fd, buf, WRITE_SIZE, 0);
   ......
}

this function will left some write requests in write-behind
than "glfs_fini" will  call "wb_inode_destroy"
so generate coredump

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list