aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-04-30 13:47:24 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-04-30 13:47:24 -0400
commitd9f34504e6952e909a6932c5b2d1857716606380 (patch)
treeae81b1df1d4d30606acea4e00fbca19307be4f29 /fs/ext4/balloc.c
parentext4: don't set PageUptodate in ext4_end_bio() (diff)
downloadlinux-dev-d9f34504e6952e909a6932c5b2d1857716606380.tar.xz
linux-dev-d9f34504e6952e909a6932c5b2d1857716606380.zip
ext4: ignore errors when issuing discards
This is an effective revert of commit a30eec2a8: "ext4: stop issuing discards if not supported by device". The problem is that there are some devices that may return errors in response to a discard request some times but not others. (One example would be a hybrid dm device which concatenates an SSD and an HDD device). By this logic, I also removed the error checking from ext4's FITRIM code; so that an error from a discard will not stop the FITRIM from trying to trim the rest of the file system. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
0 files changed, 0 insertions, 0 deletions