]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: make trim/discard optional (and off by default)
authorEric Sandeen <sandeen@redhat.com>
Thu, 19 Nov 2009 19:25:42 +0000 (14:25 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Dec 2009 16:07:42 +0000 (08:07 -0800)
commitc46e04b9e788d6abed811128aa4e61dc0996509c
tree67c9cd5ce91b7568024f5ef8cf172366ac99d78b
parent648d9cddf46454ef6aad9f8faf1dd051543647dd
ext4: make trim/discard optional (and off by default)

(cherry picked from commit 5328e635315734d42080de9a5a1ee87bf4cae0a4)

It is anticipated that when sb_issue_discard starts doing
real work on trim-capable devices, we may see issues.  Make
this mount-time optional, and default it to off until we know
that things are working out OK.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/filesystems/ext4.txt
fs/ext4/ext4.h
fs/ext4/mballoc.c
fs/ext4/super.c