]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zfs_vfsops.c
Disable zfs_sync during oops/panic
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 6 Jan 2011 22:07:41 +0000 (14:07 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Feb 2011 17:27:20 +0000 (09:27 -0800)
commitd5e53f9d06d149fbb62920bb5af766059dc35341
tree40e7fc13dc997d5f1258a185b6314918be61bf8b
parentacb53769403aa896b022129f1bdb3d845a4d0201
Disable zfs_sync during oops/panic

Minor update to ensure zfs_sync() is disabled if a kernel oops/panic
is triggered.  As the comment says 'data integrity is job one'.  This
change could have been done by defining panicstr to oops_in_progress
in the SPL.  But I felt it was better to use the native Linux API
here since to be clear.
module/zfs/zfs_vfsops.c