summaryrefslogtreecommitdiffstats
path: root/drivers/ieee802154/at86rf230.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2012-09-27 00:45:47 +0200
committerAlasdair G Kergon <agk@redhat.com>2012-09-27 00:45:47 +0200
commit0424caa14508f19ca8093d36c15250e0331a3a0a (patch)
treeaa276ebe959e01f0bae7aafe9cb7f140219a6b64 /drivers/ieee802154/at86rf230.c
parentdm thin: tidy discard support (diff)
downloadlinux-0424caa14508f19ca8093d36c15250e0331a3a0a.tar.xz
linux-0424caa14508f19ca8093d36c15250e0331a3a0a.zip
dm thin: fix discard support for data devices
The discard limits that get established for a thin-pool or thin device may be incompatible with the pool's data device. Avoid this by checking the discard limits of the pool's data device. If an incompatibility is found then the pool's 'discard passdown' feature is disabled. Change thin_io_hints to ensure that a thin device always uses the same queue limits as its pool device. Introduce requested_pf to track whether or not the table line originally contained the no_discard_passdown flag and use this directly for table output. We prepare the correct setting for discard_passdown directly in bind_control_target (called from pool_io_hints) and store it in adjusted_pf rather than waiting until we have access to pool->pf in pool_preresume. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/ieee802154/at86rf230.c')
0 files changed, 0 insertions, 0 deletions