/linux/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.h | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_fs.h | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_format.h | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_inode_buf.c | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_bmap.c | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
/linux/fs/xfs/ |
H A D | xfs_iomap.h | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_reflink.c | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_inode_item.c | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_ioctl.c | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_inode.h | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_bmap_util.c | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_iomap.c | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_inode.c | diff f7ca35227253dc8244fd908140b06010e67a31e5 Mon Oct 03 18:11:43 CEST 2016 Darrick J. Wong <darrick.wong@oracle.com> xfs: create a separate cow extent size hint for the allocator
Create a per-inode extent size allocator hint for copy-on-write. This hint is separate from the existing extent size hint so that CoW can take advantage of the fragmentation-reducing properties of extent size hints without disabling delalloc for regular writes.
The extent size hint that's fed to the allocator during a copy on write operation is the greater of the cowextsize and regular extsize hint.
During reflink, if we're sharing the entire source file to the entire destination file and the destination file doesn't already have a cowextsize hint, propagate the source file's cowextsize hint to the destination file.
Furthermore, zero the bulkstat buffer prior to setting the fields so that we don't copy kernel memory contents into userspace.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|