]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: make discard trigger copy-on-write
authorJosh Durgin <josh.durgin@inktank.com>
Sat, 5 Apr 2014 00:49:12 +0000 (17:49 -0700)
committerIlya Dryomov <idryomov@redhat.com>
Tue, 14 Oct 2014 17:03:34 +0000 (21:03 +0400)
commit73bda8a0816cdde1f24c8ed32219b209bc83c1ff
tree6ce1baba2f79c5560f2a531fa7b6560702787250
parent6873abfb6a6dfe200ea1236516c2cf4d979f5cbb
rbd: make discard trigger copy-on-write

Discard requests are a form of write, so they should go through the
same process as plain write requests and trigger copy-on-write for
layered images.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c