NetBSD Problem Report #47986
From reinoud@heethoofdje.13thmonkey.org Wed Jul 3 10:49:38 2013
Return-Path: <reinoud@heethoofdje.13thmonkey.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 258C77148D
for <gnats-bugs@gnats.NetBSD.org>; Wed, 3 Jul 2013 10:49:38 +0000 (UTC)
Message-Id: <20130703094417.37870281936B@heethoofdje.13thmonkey.org>
Date: Wed, 3 Jul 2013 11:44:17 +0200 (CEST)
From: reinoud@NetBSD.org
Reply-To: reinoud@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: udf is not using the new rename framework yet
X-Send-Pr-Version: 3.95
>Number: 47986
>Category: kern
>Synopsis: udf is not using the new rename framework yet
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: reinoud
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jul 03 10:50:00 +0000 2013
>Closed-Date: Wed Jul 10 15:34:50 +0000 2013
>Last-Modified: Wed Jul 10 15:34:50 +0000 2013
>Originator: Reinoud Zandijk
>Release: NetBSD 6.99.23
>Organization:
NetBSD
>Environment:
>Description:
Since UDF isn't using the new rename framework yet, rename-races can occure.
>How-To-Repeat:
Run the t_renamerace test
>Fix:
Implement code for the new rename framework
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->reinoud
Responsible-Changed-By: reinoud@NetBSD.org
Responsible-Changed-When: Wed, 03 Jul 2013 10:50:41 +0000
Responsible-Changed-Why:
UDF is mine to take
From: "Reinoud Zandijk" <reinoud@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/47986 CVS commit: src/tests/fs/vfs
Date: Mon, 8 Jul 2013 06:44:51 +0000
Module Name: src
Committed By: reinoud
Date: Mon Jul 8 06:44:51 UTC 2013
Modified Files:
src/tests/fs/vfs: t_renamerace.c t_vnops.c
Log Message:
Cover the last failing UDF test cases with a reference to PR kern/47986, i.e.
all rename's fail until UDF switches over to the new rename framework solving
the locking mechanism.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/tests/fs/vfs/t_renamerace.c
cvs rdiff -u -r1.34 -r1.35 src/tests/fs/vfs/t_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Reinoud Zandijk" <reinoud@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/47986 CVS commit: src/sys/fs/udf
Date: Wed, 10 Jul 2013 15:10:56 +0000
Module Name: src
Committed By: reinoud
Date: Wed Jul 10 15:10:56 UTC 2013
Modified Files:
src/sys/fs/udf: files.udf udf_vnops.c
Added Files:
src/sys/fs/udf: udf_rename.c
Log Message:
Implement udf_rename() using the new genfs_rename() framework.
Fixes PR kern/47986
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/udf/files.udf
cvs rdiff -u -r0 -r1.1 src/sys/fs/udf/udf_rename.c
cvs rdiff -u -r1.84 -r1.85 src/sys/fs/udf/udf_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: reinoud@NetBSD.org
State-Changed-When: Wed, 10 Jul 2013 15:34:50 +0000
State-Changed-Why:
Implemented the genfs_rename() framework implementation for UDF
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.