Subject: kern/12116: LFS: lfs_uinodes > 0 assert failure when closing spec or fifo on LFS fs.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jevans@cray.com>
List: netbsd-bugs
Date: 02/02/2001 13:39:19
>Number:         12116
>Category:       kern
>Synopsis:       LFS: lfs_uinodes > 0 assert failure when closing spec or fifo on LFS fs.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 02 13:41:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jim Evans
>Release:        -current
>Organization:
Cray, Inc
>Environment:
n/a
>Description:
ufsspec_close() and ufsfifo_close() use ITIMES(), which will invalidate
the count in fs->lfs_uinodes if the inode was not already modified, 
leading to subsequent panic.



>How-To-Repeat:
Access a spec dev node on an LFS filesystem while doing heavy concurrent
IO.
>Fix:
Suggest lfsspec_close() and lfsfifo_close() that use LFS_ITIMES()

>Release-Note:
>Audit-Trail:
>Unformatted: