* stale POSIX flock
@ 2004-12-28 18:18 Garik E
2004-12-28 22:28 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Garik E @ 2004-12-28 18:18 UTC (permalink / raw)
To: linux-kernel
Hello,
I've got a strange bug:
POSIX lock is left in system after process termination.
After some debugging I found that filp->f_count entry at the end of
sys_fctl64 function is 1(???) and subsequent call to fput releases
file sturcture, but leaves POSIX lock.
I've added check for FL_POSIX flag to locks_remove_flock and the problem stoped.
This bug happens very often on my environment, but user mode setup is
a multi-process/multi-threaded application, so I have no clue how to
reduce it to a simple testing program.
I work with enterprise linux 3, IBM xSeries345, Pentium4 3000 x2, 2GB RAM
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-28 23:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-28 18:18 stale POSIX flock Garik E
2004-12-28 22:28 ` Alan Cox
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.