]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: release discard bio after sending discard commands
authorDaeho Jeong <daeho.jeong@samsung.com>
Sat, 5 Aug 2017 17:11:57 +0000 (13:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 5 Aug 2017 17:11:57 +0000 (13:11 -0400)
commit23c10c9e9fbafb3f3854242361b05cef023a49d7
tree8569c5a85cfe6572ef48e4509f3219a7e4dc5169
parent4d4d4cf1ef8e07d9674b47459d8780225b1f8589
ext4: release discard bio after sending discard commands

We've changed the discard command handling into parallel manner.
But, in this change, I forgot decreasing the usage count of the bio
which was used to send discard request. I'm sorry about that.

Fixes: 8512d0c0fd9d ("ext4: send parallel discards on commit completions")
Signed-off-by: Daeho Jeong <daeho.jeong@samsung.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/mballoc.c