summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2024-11-27 09:23:18 +0000
committerJens Axboe <axboe@kernel.dk>2024-11-27 15:04:57 -0700
commit2cbd51f1f8739fd2fdf4bae1386bcf75ce0176ba (patch)
tree42fd03ab77cd6c41742fe14a6f083d432c2ca3c8 /tools/perf/scripts/python/exported-sql-viewer.py
parent1b0cab327e060ccf397ae634a34c84dd1d4d2bb2 (diff)
downloadlinux-stable-2cbd51f1f8739fd2fdf4bae1386bcf75ce0176ba.tar.gz
linux-stable-2cbd51f1f8739fd2fdf4bae1386bcf75ce0176ba.tar.bz2
linux-stable-2cbd51f1f8739fd2fdf4bae1386bcf75ce0176ba.zip
block: Don't allow an atomic write be truncated in blkdev_write_iter()
A write which goes past the end of the bdev in blkdev_write_iter() will be truncated. Truncating cannot tolerated for an atomic write, so error that condition. Fixes: caf336f81b3a ("block: Add fops atomic write support") Signed-off-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20241127092318.632790-1-john.g.garry@oracle.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions