projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61002f7
)
fat: do not send discards as barriers
author
Christoph Hellwig
<hch@infradead.org>
Wed, 18 Aug 2010 09:29:19 +0000
(
05:29
-0400)
committer
Jens Axboe
<jaxboe@fusionio.com>
Fri, 10 Sep 2010 10:35:39 +0000
(12:35 +0200)
fat already uses synchronous discards, no need to add I/O barriers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/fat/fatent.c
patch
|
blob
|
history
diff --git
a/fs/fat/fatent.c
b/fs/fat/fatent.c
index 3a56a82f5658dfce7f1e6ba61dcb7ae705978d4d..f9a0b7ae8648b5ed7251343280cb537b2a1d77fd 100644
(file)
--- a/
fs/fat/fatent.c
+++ b/
fs/fat/fatent.c
@@
-579,7
+579,7
@@
int fat_free_clusters(struct inode *inode, int cluster)
fat_clus_to_blknr(sbi, first_cl),
nr_clus * sbi->sec_per_clus,
GFP_NOFS,
- BLKDEV_IFL_WAIT
| BLKDEV_IFL_BARRIER
);
+ BLKDEV_IFL_WAIT);
first_cl = cluster;
}