HomeFreeBSD

Mark IO pipeline with PF_FSTRANS

Description

Mark IO pipeline with PF_FSTRANS

In order to avoid deadlocking in the IO pipeline it is critical that
pageout be avoided during direct memory reclaim. This ensures that
the pipeline threads can always make forward progress and never end
up blocking on a DMU transaction. For this very reason Linux now
provides the PF_FSTRANS flag which may be set in the process context.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jul 13 2014, 6:35 PM
Parents
rGd958324f97f4: Fix zfs_putpage() lock inversion (again)
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG92119cc259ee: Mark IO pipeline with PF_FSTRANS (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jan 16 2015, 10:28 PM