------- Comment From [email protected] 2017-04-24 17:35 EDT-------
Actually, I see examples of taking read locks such as:
2627 /* obtain read lock on map */
2628 IREAD_LOCK(ipimap, RDWRLOCK_IMAP);
2629
2630 /* read the iag */
2631 if ((rc = diIAGRead(imap, iagno, &mp))) {
2632 IREAD_UNLOCK(ipimap);
So maybe a
/* acquire inode map lock */
IWRITE_LOCK(ipimap, RDWRLOCK_IMAP);
followed by
/* release the inode map lock */
IWRITE_UNLOCK(ipimap);
is warranted to keep the diUnmount()/diMount() somewhat atomic?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1685899
Title:
[Ubuntu 17.04] - JFS related call traces and system enters xmon when
rebooted after installation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1685899/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs