diff options
author | Mikulas Patocka <[email protected]> | 2013-10-31 13:55:45 -0400 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2013-10-31 13:55:45 -0400 |
commit | f36afb3957353d2529cb2b00f78fdccd14fc5e9c (patch) | |
tree | 0c2e9f902291df81d42c15c6b5c237c810ff3a51 /net/lapb/lapb_iface.c | |
parent | 61e6cfa80de5760bbe406f4e815b7739205754d2 (diff) |
dm: allocate buffer for messages with small number of arguments using GFP_NOIO
dm-mpath and dm-thin must process messages even if some device is
suspended, so we allocate argv buffer with GFP_NOIO. These messages have
a small fixed number of arguments.
On the other hand, dm-switch needs to process bulk data using messages
so excessive use of GFP_NOIO could cause trouble.
The patch also lowers the default number of arguments from 64 to 8, so
that there is smaller load on GFP_NOIO allocations.
Signed-off-by: Mikulas Patocka <[email protected]>
Cc: [email protected]
Acked-by: Alasdair G Kergon <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions