Bug 167447 - [zfs] [patch] patch to zfs rename -f to perform force unmount.
Summary: [zfs] [patch] patch to zfs rename -f to perform force unmount.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-30 08:50 UTC by Marcelo Araujo
Modified: 2012-05-14 13:14 UTC (History)
0 users

See Also:


Attachments
file.diff (4.93 KB, patch)
2012-04-30 08:50 UTC, Marcelo Araujo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Araujo freebsd_committer freebsd_triage 2012-04-30 08:50:19 UTC
Now is possible to use zfs rename -f to perform a force unmount.
Based on Illumos-gate commit: a0cbef703c12 by Matt Ahrens.

Fix: Patch attached with submission follows:
How-To-Repeat: hosta# zfs rename -f tank/oi tank/araujo
hosta# zfs list
NAME          USED  AVAIL  REFER  MOUNTPOINT
tank         20.4M  39.1G  1.69M  /tank
tank/araujo    31K  39.1G    31K  /tank/araujo
tank/jail      31K  39.1G    31K  /tank/jail
tank/tank1   9.73M  39.1G  1.68M  /tank/tank1
Comment 1 Marcelo Araujo freebsd_committer freebsd_triage 2012-04-30 08:51:29 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer.
Comment 2 Martin Matuska freebsd_committer freebsd_triage 2012-05-10 05:13:45 UTC
Responsible Changed
From-To: freebsd-fs->mm

I'll take it.
Comment 3 Martin Matuska freebsd_committer freebsd_triage 2012-05-14 13:14:42 UTC
State Changed
From-To: open->closed

Resolved in revision 235216. Thanks!