Bug 859242

Summary: [6.4] Backport upstream XFS fixes
Product: Red Hat Enterprise Linux 6 Reporter: Dave Chinner <dchinner>
Component: kernelAssignee: Dave Chinner <dchinner>
Status: CLOSED ERRATA QA Contact: Boris Ranto <branto>
Severity: high Docs Contact:
Priority: high    
Version: 6.4CC: bfoster, branto, cmaiolin, dchinner, eguan, esandeen, jcpunk, jraju, kzhang, lczerner, pasteur, rwheeler, zab
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-2.6.32-328.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 06:38:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 840683    

Description Dave Chinner 2012-09-20 21:18:11 UTC
There are lots of fixes upstream that are not in RHEL6 and need to be. This bug is a catchall for the fixes that haven't been actively reported in the RH BZ system.

These fixes from 3.0.x:

0001-xfs-start-periodic-workers-later.patch
0002-xfs-use-a-cursor-for-bulk-AIL-insertion.patch
0010-xfs-Return-EIO-when-xfs_vn_getattr-failed.patch
0013-xfs-use-doalloc-flag-in-xfs_qm_dqattach_one.patch
0017-xfs-fix-attr2-vs-large-data-fork-assert.patch
0018-xfs-fix-nfs-export-of-64-bit-inodes-numbers-on-32-bi.patch
0026-xfs-Fix-oops-on-IO-error-during-xlog_recover_process.patch

And these fixes are proposed for 3.0.x that aren't covered by other RH BZs
in this series:

http://oss.sgi.com/archives/xfs/2012-08/msg00255.html

The current list of these fixes from my series files is this:

0001-xfs-Check-the-return-value-of-xfs_buf_get.patch
0001-xfs-Check-the-return-value-of-xfs_trans_get_buf.patch
0001-xfs-dont-ignore-error-code-from-xfs_bmbt_update.patch
0001-xfs-XFS_TRANS_SWAPEXT-is-not-a-valid-flag-for-xfs_tr.patch
0001-xfs-Don-t-allocate-new-buffers-on-every-call-to-_xfs.patch
0001-xfs-reduce-the-number-of-log-forces-from-tail-pushin.patch
0001-xfs-optimize-fsync-on-directories.patch
0001-xfs-clean-up-buffer-allocation.patch
0001-xfs-clean-up-xfs_ioerror_alert.patch
0001-xfs-use-xfs_ioerror_alert-in-xfs_buf_iodone_callback.patch
0001-xfs-do-not-flush-data-workqueues-in-xfs_flush_buftar.patch
0001-xfs-fix-force-shutdown-handling-in-xfs_end_io.patch
0001-xfs-fix-allocation-length-overflow-in-xfs_bmapi_writ.patch
0001-xfs-untangle-SYNC_WAIT-and-SYNC_TRYLOCK-meanings-for.patch
0001-xfs-make-sure-to-really-flush-all-dquots-in-xfs_qm_q.patch
0001-xfs-simplify-xfs_qm_detach_gdquots.patch
0001-xfs-pass-KM_SLEEP-flag-to-kmem_realloc-in-xlog_recov.patch
0001-xfs-show-uuid-when-mount-fails-due-to-duplicate-uuid.patch
0001-XFS-xfs_trans_add_item-don-t-assign-in-ASSERT-when-c.patch
0001-xfs-fix-deadlock-in-xfs_rtfree_extent.patch
0001-xfs-Fix-open-flag-handling-in-open_by_handle-code.patch
0001-xfs-punch-all-delalloc-blocks-beyond-EOF-on-write-fa.patch
0001-xfs-using-GFP_NOFS-for-blkdev_issue_flush.patch
0001-xfs-page-type-check-in-writeback-only-checks-last-bu.patch
0001-xfs-punch-new-delalloc-blocks-out-of-failed-writes-i.patch
0001-xfs-prevent-needless-mount-warning-causing-test-fail.patch
0001-xfs-don-t-assert-on-delalloc-regions-beyond-EOF.patch
0001-xfs-limit-specualtive-delalloc-to-maxioffset.patch
0001-xfs-Use-preallocation-for-inodes-with-extsz-hints.patch
0001-xfs-fix-buffer-lookup-race-on-allocation-failure.patch
0001-xfs-check-for-buffer-errors-before-waiting.patch
0001-xfs-fix-incorrect-b_offset-initialisation.patch
0001-xfs-use-kmem_zone_zalloc-for-buffers.patch
0001-xfs-use-iolock-on-XFS_IOC_ALLOCSP-calls.patch
0001-xfs-Properly-exclude-IO-type-flags-from-buffer-flags.patch
0001-xfs-prevent-recursion-in-xfs_buf_iorequest.patch
0001-xfs-fix-memory-reclaim-deadlock-on-agi-buffer.patch
0001-xfs-add-trace-points-for-log-forces.patch
0001-xfs-switch-to-proper-__bitwise-type-for-KM_.-flags.patch
0001-xfs-xfs_vm_writepage-clear-iomap_valid-when-buffer_u.patch
0001-xfs-kill-copy-and-paste-segment-checks-in-xfs_file_a.patch
0001-xfs-fix-allocbt-cursor-leak-in-xfs_alloc_ag_vextent_.patch
0001-xfs-really-fix-the-cursor-leak-in-xfs_alloc_ag_vexte.patch
0001-xfs-handle-EOF-correctly-in-xfs_vm_writepage.patch

Comment 1 RHEL Program Management 2012-09-20 21:31:01 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 4 Jarod Wilson 2012-10-10 20:09:09 UTC
Patch(es) available on kernel-2.6.32-328.el6

Comment 12 Boris Ranto 2013-01-03 10:51:12 UTC
*** Bug 815345 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2013-02-21 06:38:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0496.html