Bug 4497
Summary: | getdents gives empty/random result upon signal | ||
---|---|---|---|
Product: | File System | Reporter: | Stian Skjelstad (stian) |
Component: | Samba/SMB | Assignee: | fs_samba-smb |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | akpm |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.9 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | smbfs-readdir-vs-signal-fix |
Description
Stian Skjelstad
2005-04-14 21:52:00 UTC
Created attachment 6389 [details]
smbfs-readdir-vs-signal-fix
Could you please test this putative fix?
ping? I'm sorry, been a bit busy and I forgot about it. I'll regression-tests on it tonight after work. I patched it in last night (against vanilla 2.6.15), and tested it this morning with localhost as server. Problem did not occure a single time with this patch in. Did get some other non-related messages in my syslog: Jan 17 11:25:43 gentoo-2 smb_proc_readdir_long: error=-512, breaking Jan 17 11:25:43 gentoo-2 smb_proc_readdir_long: error=-512, breaking Jan 17 11:25:43 gentoo-2 smb_proc_readdir_long: error=-512, breaking Everything seems to work well now. I'll try to remove patch again to night to see if problem re-occures with 2.6.15 vanilla. Project I'm testing it with is Open Cubic Player, as it uses a SIGALRM for background scheduling of sound. Great, thanks. I'll merge it. |