commit | e475bba2fdee9c3dbfe25f026f8fb8de69508ad2 | [log] [tgz] |
---|---|---|
author | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jun 16 08:23:52 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Jun 16 08:23:52 2009 +0200 |
tree | cb2a050b58fbd8cd7a4d82349164622fedc2c6d0 | |
parent | 6923715ae39ed39ac2fc1993e5061668f4f71ad0 [diff] |
block: Introduce helper to reset queue limits to default values DM reuses the request queue when swapping in a new device table Introduce blk_set_default_limits() which can be used to reset the the queue_limits prior to stacking devices. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Acked-by: Alasdair G Kergon <agk@redhat.com> Acked-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>