diff options
author | David Woodhouse <dwmw2@infradead.org> | 2009-09-12 09:35:37 +0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-14 10:24:53 +0400 |
commit | 3d2257f157c2324acbc0fa0fa54e8626a987edd2 (patch) | |
tree | a3c05936cc4fbf49474dae072871dbab909c9ae4 /fs/btrfs | |
parent | b8a9ae779f2c7049071034661e09cb7e1e82250c (diff) | |
download | linux-3d2257f157c2324acbc0fa0fa54e8626a987edd2.tar.xz |
Make DISCARD_BARRIER and DISCARD_NOBARRIER writes instead of reads
The commands are conceptually writes, and in the case of IDE and SCSI
commands actually are writes. They were only reads because we thought
that would interact better with the elevators. Now the elevators know
about discard requests, that advantage no longer exists.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/btrfs')
0 files changed, 0 insertions, 0 deletions