freebsd-dev/module/zfs
Richard Yao 62c4165a1b Revert Fix zpl_writepage() deadlock
The commit, cfc9a5c88f, to fix deadlocks
in zpl_writepage() relied on PF_MEMALLOC.   That had the effect of
disabling the direct reclaim path on all allocations originating from
calls to this function, but it failed to address the actual cause of
those deadlocks.  This led to the same deadlocks being observed with
swap on zvols, but not with swap on the loop device, which exercises
this code.

The use of PF_MEMALLOC also had the side effect of permitting
allocations to be made from ZONE_DMA in instances that did not require
it.  This contributes to the possibility of panics caused by depletion
of pages from ZONE_DMA.

As such, we revert this patch in favor of a proper fix for both issues.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #726
2012-08-27 12:01:37 -07:00
..
arc.c Illumos #1748: desire support for reguid in zfs 2012-07-11 13:08:56 -07:00
bplist.c
bpobj.c Illumos #1644, #1645, #1646, #1647, #1708 2012-07-31 09:25:30 -07:00
dbuf.c Export dmu_buf_rele() symbol 2012-08-14 08:38:19 -07:00
ddt_zap.c Update incorrect ddt_zap_lookup() assertion 2012-07-03 15:14:34 -07:00
ddt.c Add ddt_object_load() error handling 2012-07-20 10:36:21 -07:00
dmu_diff.c
dmu_object.c
dmu_objset.c Export additional dsl symbols 2012-04-11 09:26:55 -07:00
dmu_send.c Illumos #2901: zfs receive fails for exabyte sparse files 2012-08-25 12:28:29 -07:00
dmu_traverse.c Revert "Fix stack traverse_visitbp()" 2011-05-31 12:17:27 -07:00
dmu_tx.c Illumos #1475: zfs spill block hold can access invalid spill blkptr 2012-04-11 11:46:30 -07:00
dmu_zfetch.c Add missing ZFS tunables 2011-05-04 10:02:37 -07:00
dmu.c Add zfs_mdcomp_disable module option 2012-04-27 16:28:02 -07:00
dnode_sync.c
dnode.c Improve meta data performance 2011-11-03 10:19:21 -07:00
dsl_dataset.c Illumos #3085: zfs diff panics, then panics in a loop on booting 2012-08-25 12:32:25 -07:00
dsl_deadlist.c Illumos #1644, #1645, #1646, #1647, #1708 2012-07-31 09:25:30 -07:00
dsl_deleg.c Illumos #1644, #1645, #1646, #1647, #1708 2012-07-31 09:25:30 -07:00
dsl_dir.c
dsl_pool.c Illumos #1644, #1645, #1646, #1647, #1708 2012-07-31 09:25:30 -07:00
dsl_prop.c Export additional dsl symbols 2012-04-11 09:26:55 -07:00
dsl_scan.c Add 'inline' keyword 2012-07-19 13:41:00 -07:00
dsl_synctask.c
fm.c Wrap smp_processor_id in kpreempt_[dis|en]able 2012-08-24 13:19:06 -07:00
gzip.c
lzjb.c
Makefile.in Add script for builtin module building. 2012-07-26 13:45:09 -07:00
metaslab.c Illumos #1909: disk sync write perf regression when slog is used post oi_148 2012-04-19 16:26:29 -07:00
refcount.c
rrwlock.c Enable rrwlock.c compilation 2010-12-07 16:05:25 -08:00
sa.c Drop spill buffer reference 2012-08-25 09:26:10 -07:00
sha256.c
spa_boot.c
spa_config.c Illumos #1693: persistent 'comment' field for a zpool 2012-08-08 11:49:37 -07:00
spa_errlog.c
spa_history.c Illumos #1644, #1645, #1646, #1647, #1708 2012-07-31 09:25:30 -07:00
spa_misc.c Illumos #1748: desire support for reguid in zfs 2012-07-11 13:08:56 -07:00
spa.c Illumos #1693: persistent 'comment' field for a zpool 2012-08-08 11:49:37 -07:00
space_map.c
txg.c Revert Fix ASSERTION(!dsl_pool_sync_context(tx->tx_pool)) 2012-08-27 12:01:37 -07:00
uberblock.c
unique.c
vdev_cache.c Illumos #175: zfs vdev cache consumes excessive memory 2011-08-01 12:09:11 -07:00
vdev_disk.c Move partition scanning from userspace to module. 2012-07-17 09:17:31 -07:00
vdev_file.c Illumos #1680: zfs vdev_file_io_start: validate vdev before using vdev_tsd 2012-04-11 11:23:18 -07:00
vdev_label.c
vdev_mirror.c
vdev_missing.c
vdev_queue.c Add missing ZFS tunables 2011-05-04 10:02:37 -07:00
vdev_raidz.c
vdev_root.c
vdev.c Illumos #1949, #1953 2012-07-11 13:33:31 -07:00
zap_leaf.c
zap_micro.c Illumos #1644, #1645, #1646, #1647, #1708 2012-07-31 09:25:30 -07:00
zap.c
zfs_acl.c Fix build failures on PaX/GRSecurity patched kernels 2012-07-17 09:22:43 -07:00
zfs_byteswap.c
zfs_ctldir.c Disable .zfs directory on 32-bit systems 2012-07-20 12:20:57 -07:00
zfs_debug.c Use spl_debug_* helpers 2012-02-09 16:37:48 -08:00
zfs_dir.c rmdir(2) should return ENOTEMPTY 2012-08-26 13:55:45 -07:00
zfs_fm.c Illumos #1951: leaking a vdev when removing an l2cache device 2012-04-11 11:32:06 -07:00
zfs_fuid.c Drop HAVE_XVATTR macros 2011-03-02 11:44:34 -08:00
zfs_ioctl.c Illumos #1644, #1645, #1646, #1647, #1708 2012-07-31 09:25:30 -07:00
zfs_log.c Drop HAVE_XVATTR macros 2011-03-02 11:44:34 -08:00
zfs_onexit.c
zfs_replay.c Use Linux ATTR_ versions 2011-03-03 11:29:15 -08:00
zfs_rlock.c Range lock performance improvements 2011-03-08 12:44:06 -08:00
zfs_sa.c Revert "Use SA_HDL_PRIVATE for SA xattrs" 2012-08-25 09:25:56 -07:00
zfs_vfsops.c Suppress 'zfs_sb_create' memory warning 2012-08-10 16:43:32 -07:00
zfs_vnops.c Add .zfs control directory 2012-03-22 13:03:47 -07:00
zfs_znode.c Add .zfs control directory 2012-03-22 13:03:47 -07:00
zil.c Add ZIL statistics. 2012-06-29 09:56:51 -07:00
zio_checksum.c
zio_compress.c
zio_inject.c Add missing ZFS tunables 2011-05-04 10:02:37 -07:00
zio.c Illumos #1909: disk sync write perf regression when slog is used post oi_148 2012-04-19 16:26:29 -07:00
zle.c
zpl_ctldir.c Linux 3.3 compat, iops->create()/mkdir()/mknod() 2012-04-30 12:52:38 -07:00
zpl_export.c Linux 3.5 compat, eops->encode_fh() takes inodes 2012-07-23 12:29:23 -07:00
zpl_file.c Revert Fix zpl_writepage() deadlock 2012-08-27 12:01:37 -07:00
zpl_inode.c Linux 3.5 compat, iops->truncate_range() removed 2012-07-23 12:29:32 -07:00
zpl_super.c Linux 3.5 compat, end_writeback() changed to clear_inode() 2012-07-23 12:29:36 -07:00
zpl_xattr.c Add missing NULL in zpl_xattr_handlers 2012-03-15 15:18:29 -07:00
zrlock.c Export ZFS symbols needed by Lustre. 2010-09-17 16:24:15 -07:00
zvol.c Set zvol discard_granularity to the volblocksize. 2012-08-07 14:55:31 -07:00