diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-29 11:20:48 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-29 11:20:48 -0700 |
| commit | b11b06d90a41766c2d31f0acb8a87aa0f2a7188f (patch) | |
| tree | be326cde997bcc38b2a9e0a6d6bc7d7ee7b4cbed /include/linux/device-mapper.h | |
| parent | f1d1c9fa8f360990e263bdcb73e35ab6fbdc41fe (diff) | |
| parent | fa34ce73072f90ecd90dcc43f29d82e70e5f8676 (diff) | |
| download | linux-next-b11b06d90a41766c2d31f0acb8a87aa0f2a7188f.tar.gz linux-next-b11b06d90a41766c2d31f0acb8a87aa0f2a7188f.zip | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm
* git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm:
dm kcopyd: return client directly and not through a pointer
dm kcopyd: reserve fewer pages
dm io: use fixed initial mempool size
dm kcopyd: alloc pages from the main page allocator
dm kcopyd: add gfp parm to alloc_pl
dm kcopyd: remove superfluous page allocation spinlock
dm kcopyd: preallocate sub jobs to avoid deadlock
dm kcopyd: avoid pointless job splitting
dm mpath: do not fail paths after integrity errors
dm table: reject devices without request fns
dm table: allow targets to support discards internally
Diffstat (limited to 'include/linux/device-mapper.h')
| -rw-r--r-- | include/linux/device-mapper.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 32a4423710f5..4427e0454051 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h @@ -191,6 +191,12 @@ struct dm_target { /* Used to provide an error string from the ctr */ char *error; + + /* + * Set if this target needs to receive discards regardless of + * whether or not its underlying devices have support. + */ + unsigned discards_supported:1; }; /* Each target can link one of these into the table */ |
