Revision 9f141d6ef6258a3a37a045842d9ba7e68f368956 authored by Jan Kara on 19 October 2016, 12:34:31 UTC, committed by Dan Williams on 27 December 2016, 04:29:25 UTC
Currently ->iomap_begin() handler is called with entry lock held. If the filesystem held any locks between ->iomap_begin() and ->iomap_end() (such as ext4 which will want to hold transaction open), this would cause lock inversion with the iomap_apply() from standard IO path which first calls ->iomap_begin() and only then calls ->actor() callback which grabs entry locks for DAX (if it faults when copying from/to user provided buffers). Fix the problem by nesting grabbing of entry lock inside ->iomap_begin() - ->iomap_end() pair. Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent f449b93
File | Mode | Size |
---|---|---|
ams | ||
Kconfig | -rw-r--r-- | 10.1 KB |
Makefile | -rw-r--r-- | 2.3 KB |
adb-iop.c | -rw-r--r-- | 6.2 KB |
adb.c | -rw-r--r-- | 20.1 KB |
adbhid.c | -rw-r--r-- | 34.8 KB |
ans-lcd.c | -rw-r--r-- | 4.0 KB |
ans-lcd.h | -rw-r--r-- | 206 bytes |
apm_emu.c | -rw-r--r-- | 3.1 KB |
mac_hid.c | -rw-r--r-- | 6.1 KB |
macio-adb.c | -rw-r--r-- | 6.4 KB |
macio_asic.c | -rw-r--r-- | 20.2 KB |
macio_sysfs.c | -rw-r--r-- | 1.5 KB |
mediabay.c | -rw-r--r-- | 18.9 KB |
rack-meter.c | -rw-r--r-- | 15.5 KB |
smu.c | -rw-r--r-- | 30.5 KB |
therm_adt746x.c | -rw-r--r-- | 16.3 KB |
therm_windtunnel.c | -rw-r--r-- | 12.0 KB |
via-cuda.c | -rw-r--r-- | 15.8 KB |
via-macii.c | -rw-r--r-- | 14.0 KB |
via-maciisi.c | -rw-r--r-- | 15.4 KB |
via-pmu-backlight.c | -rw-r--r-- | 4.4 KB |
via-pmu-event.c | -rw-r--r-- | 2.1 KB |
via-pmu-event.h | -rw-r--r-- | 177 bytes |
via-pmu-led.c | -rw-r--r-- | 3.1 KB |
via-pmu.c | -rw-r--r-- | 61.8 KB |
via-pmu68k.c | -rw-r--r-- | 19.4 KB |
windfarm.h | -rw-r--r-- | 4.1 KB |
windfarm_ad7417_sensor.c | -rw-r--r-- | 7.6 KB |
windfarm_core.c | -rw-r--r-- | 10.2 KB |
windfarm_cpufreq_clamp.c | -rw-r--r-- | 2.1 KB |
windfarm_fcu_controls.c | -rw-r--r-- | 14.0 KB |
windfarm_lm75_sensor.c | -rw-r--r-- | 4.0 KB |
windfarm_lm87_sensor.c | -rw-r--r-- | 4.0 KB |
windfarm_max6690_sensor.c | -rw-r--r-- | 3.1 KB |
windfarm_mpu.h | -rw-r--r-- | 3.7 KB |
windfarm_pid.c | -rw-r--r-- | 3.7 KB |
windfarm_pid.h | -rw-r--r-- | 2.7 KB |
windfarm_pm112.c | -rw-r--r-- | 18.0 KB |
windfarm_pm121.c | -rw-r--r-- | 25.0 KB |
windfarm_pm72.c | -rw-r--r-- | 20.5 KB |
windfarm_pm81.c | -rw-r--r-- | 21.2 KB |
windfarm_pm91.c | -rw-r--r-- | 18.0 KB |
windfarm_rm31.c | -rw-r--r-- | 17.6 KB |
windfarm_smu_controls.c | -rw-r--r-- | 8.0 KB |
windfarm_smu_sat.c | -rw-r--r-- | 8.2 KB |
windfarm_smu_sensors.c | -rw-r--r-- | 11.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...