ext4: let the block device know when unused blocks can be discarded
commit8a0aba733db1adb5e1f0e828889a18f4c1c512de
authorTheodore Ts'o <tytso@mit.edu>
Thu, 16 Oct 2008 14:06:27 +0000 (16 10:06 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 16 Oct 2008 14:06:27 +0000 (16 10:06 -0400)
treee66c57f34cdb28c45c34dfc63a93c72791316fe0
parenta1aebc1e2da9a7bee4ff8cce510b08f469d1929e
ext4: let the block device know when unused blocks can be discarded

Let the block device know when unused blocks can be discarded, using
the new sb_issue_discard() interface.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c
fs/ext4/mballoc.h