diff options
author | Mike Snitzer <[email protected]> | 2010-08-12 04:14:08 +0100 |
---|---|---|
committer | Alasdair G Kergon <[email protected]> | 2010-08-12 04:14:08 +0100 |
commit | 5ae89a8720c28caf35c4e53711d77df2856c404e (patch) | |
tree | 712ddc158309d7ad77e3c19e70f0ae9fafb94446 /net/unix/sysctl_net_unix.c | |
parent | 5ebaee6d290279d1df6ce45d6d54de8cfc473273 (diff) |
dm: linear support discard
Allow discards to be passed through to linear mappings if at least one
underlying device supports it. Discards will be forwarded only to
devices that support them.
A target that supports discards should set num_discard_requests to
indicate how many times each discard request must be submitted to it.
Verify table's underlying devices support discards prior to setting the
associated DM device as capable of discards (via QUEUE_FLAG_DISCARD).
Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Reviewed-by: Joe Thornber <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions