Date: Mon, 9 Apr 2012 12:20:15 GMT From: ONGS-OZAWA <ozawa@ongs.co.jp> To: freebsd-fs@FreeBSD.org Subject: Re: kern/161511: [unionfs] Filesystem deadlocks when using multiple unionfs mounts on top of single filesystem Message-ID: <201204091220.q39CKF0x011689@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/161511; it has been noted by GNATS. From: ONGS-OZAWA <ozawa@ongs.co.jp> To: bug-followup@FreeBSD.org, gcooper@ixsystems.com Cc: Subject: Re: kern/161511: [unionfs] Filesystem deadlocks when using multiple unionfs mounts on top of single filesystem Date: Mon, 09 Apr 2012 21:17:14 +0900 This is a multi-part message in MIME format. --------------080703070504010006020003 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Please try this new patch that solves a dead lock issue of unionfs. # cd /usr/src/ # patch -p3 < attached_file -- ONGS Inc. Ozawa <ozawa@ongs.co.jp> WWW: http://www.ongs.co.jp/ --------------080703070504010006020003 Content-Type: text/plain; name="unionfs_20120409.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="unionfs_20120409.diff" ZGlmZiAtdXJCTiAvdXNyL3NyYy5vcmlnL3N5cy9mcy91bmlvbmZzL3VuaW9uX3N1YnIuYyAv dXNyL3NyYy9zeXMvZnMvdW5pb25mcy91bmlvbl9zdWJyLmMKLS0tIC91c3Ivc3JjLm9yaWcv c3lzL2ZzL3VuaW9uZnMvdW5pb25fc3Vici5jCTIwMTItMDQtMDggMTQ6MDE6MjMuMDAwMDAw MDAwICswOTAwCisrKyAvdXNyL3NyYy9zeXMvZnMvdW5pb25mcy91bmlvbl9zdWJyLmMJMjAx Mi0wNC0wOSAxMTozMjoyOS4wMDAwMDAwMDAgKzA5MDAKQEAgLTM1MCwxOSArMzUwLDIyIEBA CiAJdXZwID0gdW5wLT51bl91cHBlcnZwOwogCWR2cCA9IHVucC0+dW5fZHZwOwogCXVucC0+ dW5fbG93ZXJ2cCA9IHVucC0+dW5fdXBwZX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cgKzIyNTQsOCBAQAogCWVycm9yID0gVk9QX0NMT1NFRVhU QVRUUih0dnAsIGFwLT5hX2NvbW1pdCwgYXAtPmFfY3JlZCwgYXAtPmFfdGQpOwogCiAJaWYg KGVycm9yID09IDApIHsKLQkJdm5fbG9jayh2cCwgTEtfVVBHUkFERSB8IExLX1JFVFJZKTsK KwkJaWYgKHZuX2xvY2sodnAsIExLX1VQR1JBREUpICE9IDApCisJCQl2bl9sb2NrKHZwLCBM S19FWENMVVNJVkUgfCBMS19SRVRSWSk7CiAJCWlmICh0dnAgPT0gdW5wLT51bl91cHBlcnZw KQogCQkJdW5wLT51bl9mbGFnICY9IH5VTklPTkZTX09QRU5FWFRVOwogCQllbHNlCkBAIC0y NDM1LDYgKzI1MDQsNyBAQAogCS52b3BfZ2V0ZXh0YXR0ciA9CXVuaW9uZnNfZ2V0ZXh0YXR0 ciwKIAkudm9wX2dldHdyaXRlbW91bnQgPQl1bmlvbmZzX2dldHdyaXRlbW91bnQsCiAJLnZv cF9pbmFjdGl2ZSA9CQl1bmlvbmZzX2luYWN0aXZlLAorCS52b3BfaXNsb2NrZWQgPQkJdW5p b25mc19pc2xvY2tlZCwKIAkudm9wX2lvY3RsID0JCXVuaW9uZnNfaW9jdGwsCiAJLnZvcF9s aW5rID0JCXVuaW9uZnNfbGluaywKIAkudm9wX2xpc3RleHRhdHRyID0JdW5pb25mc19saXN0 ZXh0YXR0ciwK --------------080703070504010006020003--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204091220.q39CKF0x011689>