Re: nlink warning

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

 



3 марта 2012 г. 14:03 пользователь Pavel Shilovsky
<piastryyy@xxxxxxxxx> написал:
> 2012/3/3 Pavel Shilovsky <piastryyy@xxxxxxxxx>:
>> 2012/3/3 Pavel Shilovsky <piastryyy@xxxxxxxxx>:
>>> FYI: Noted such warnings running dbench 3
>>>
>>> [11030.790449] WARNING: at /home/apw/COD/linux/fs/inode.c:290
>>> drop_nlink+0x3b/0x40()
>>> [11030.790452] Hardware name: MS-7309
>>> [11030.790454] Modules linked in: cifs(O) des_generic md4 nls_utf8
>>> binfmt_misc snd_hda_codec_realtek snd_hda_intel snd_hda_codec
>>> snd_hwdep snd_pcm nouveau ttm drm_kms_helper drm snd_seq_midi
>>> snd_rawmidi snd_seq_midi_event k8temp snd_seq snd_timer snd_seq_device
>>> mxm_wmi video i2c_nforce2 snd wmi ppdev soundcore lp snd_page_alloc
>>> parport_pc mac_hid serio_raw parport floppy skge sata_nv pata_amd
>>> forcedeth [last unloaded: cifs]
>>> [11030.790491] Pid: 19338, comm: dbench Tainted: G        W  O
>>> 3.3.0-030300rc2-generic-pae #201201311735
>>> [11030.790495] Call Trace:
>>> [11030.790502]  [<c1042792>] warn_slowpath_common+0x72/0xa0
>>> [11030.790506]  [<c115f63b>] ? drop_nlink+0x3b/0x40
>>> [11030.790510]  [<c115f63b>] ? drop_nlink+0x3b/0x40
>>> [11030.790515]  [<c10427e2>] warn_slowpath_null+0x22/0x30
>>> [11030.790519]  [<c115f63b>] drop_nlink+0x3b/0x40
>>> [11030.790530]  [<fa01d9f4>] cifs_unlink+0xe4/0x650 [cifs]
>>> [11030.790534]  [<c11563b0>] ? path_lookupat+0xb0/0x5c0
>>> [11030.790539]  [<c159fb1d>] ? _raw_spin_lock+0xd/0x10
>>> [11030.790543]  [<c159fb1d>] ? _raw_spin_lock+0xd/0x10
>>> [11030.790548]  [<c1153e73>] vfs_unlink+0x83/0xf0
>>> [11030.790552]  [<c1157434>] do_unlinkat+0x154/0x180
>>> [11030.790556]  [<c1157475>] sys_unlink+0x15/0x20
>>> [11030.790561]  [<c15a6c5f>] sysenter_do_call+0x12/0x28
>>> [11030.790564] ---[ end trace 71953eb479f2ec1b ]---
>>>
>>
>> ...against Samba-3.5.4.
>>
>> --
>> Best regards,
>> Pavel Shilovsky.
>
> NFS code does this in unlink codepath:
>
> 1224 >-------spin_lock(&inode->i_lock);
> 1225 >-------if (inode->i_nlink > 0)
> 1226 >------->-------drop_nlink(inode);
> 1227 >-------spin_unlock(&inode->i_lock);
>
> May be we should something like it?
>
> --
> Best regards,
> Pavel Shilovsky.

Any thoughts on this?

-- 
Best regards,
Pavel Shilovsky.
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux