Re: [PATCH UPDATED 4/5] dm: implement REQ_FLUSH/FUA support for request-baseddm

From: Tejun Heo
Date: Thu Sep 02 2010 - 09:33:00 EST


On 09/02/2010 03:22 PM, Tejun Heo wrote:
> Hello,
>
> On 09/01/2010 09:15 AM, Kiyoshi Ueda wrote:
>> I don't see any obvious problem on this patch.
>> However, I hit a NULL pointer dereference below when I use a mpath
>> device with barrier option of ext3. I'm investigating the cause now.
>> (Also I'm not sure the cause of the hang which Mike is hitting yet.)
>>
>> I tried on the commit 28dd53b26d362c16234249bad61db8cbd9222d0b of
>> git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git flush-fua.
>>
>> # mke2fs -j /dev/mapper/mpatha
>> # mount -o barrier=1 /dev/mapper/mpatha /mnt/0
>> # dd if=/dev/zero of=/mnt/0/a bs=512 count=1
>> # sync
>
> Hmm... I'm trying to reproduce this problem but hasn't been successful
> yet.
>
>> BUG: unable to handle kernel NULL pointer dereference at 0000000000000078
>> IP: [<ffffffffa0070ec3>] scsi_finish_command+0xa3/0x120 [scsi_mod]
>
> Can you please ask gdb which source line this is?

Ooh, never mind. Reproduced it.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/