HomeFreeBSD

zfsctl: No need to sync ctldir inodes

Description

zfsctl: No need to sync ctldir inodes

There's no metadata to write to disk for ctldir inodes. So we check if
a inode belongs to the ctldir in zpl_commit_metadata, and returns
immediately if it is.

Signed-off-by: Andrey Vesnovaty <andrey.vesnovaty@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2797

Details

Provenance
Andrey Vesnovaty <andrey.vesnovaty@gmail.com>Authored on Aug 12 2013, 6:47 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 31 2015, 8:54 PM
Parents
rGc6a3a222d3a1: Clear QUEUE_FLAG_ADD_RANDOM on zvols
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGb23975cbe0f2: zfsctl: No need to sync ctldir inodes (authored by Andrey Vesnovaty <andrey.vesnovaty@gmail.com>).Aug 31 2015, 8:54 PM