Commit e045db80 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

fat: do not send discards as barriers

fat already uses synchronous discards, no need to add I/O barriers.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 61002f7d
...@@ -579,7 +579,7 @@ int fat_free_clusters(struct inode *inode, int cluster) ...@@ -579,7 +579,7 @@ int fat_free_clusters(struct inode *inode, int cluster)
fat_clus_to_blknr(sbi, first_cl), fat_clus_to_blknr(sbi, first_cl),
nr_clus * sbi->sec_per_clus, nr_clus * sbi->sec_per_clus,
GFP_NOFS, GFP_NOFS,
BLKDEV_IFL_WAIT | BLKDEV_IFL_BARRIER); BLKDEV_IFL_WAIT);
first_cl = cluster; first_cl = cluster;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment