RFC : xfs: 3.0.x stable kernel update
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest99 of 102 patches 17 repliesIn review
99 of 102 patches are in this archive. The cover letter announces 102.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/102 | xfs: don't serialise adjacent concurrent direct IO appending writesfs/ | +52 | 0 replies | |
| 2/102 | xfs: remove dead ENODEV handling in xfs_destroy_ioendfs/ | +0 | 0 replies | |
| 3/102 | xfs: defer AIO/DIO completionsfs/ fs/ | +9 | 0 replies | |
| 4/102 | xfs: reduce ioend latencyfs/ | +15 | 0 replies | |
| 5/102 | xfs: wait for I/O completion when writing out pages in xfs_setattr_sizefs/ | +1 | 0 replies | |
| 6/102 | xfs: improve ioend error handlingfs/ | +17 | 0 replies | |
| 7/102 | xfs: Check the return value of xfs_buf_get()fs/ fs/ | +22 | 0 replies | |
| 8/102 | xfs: Check the return value of xfs_trans_get_buf()fs/ fs/ fs/ +3 more | +28 | 0 replies | |
| 9/102 | xfs: dont ignore error code from xfs_bmbt_updatefs/ | +3 | 0 replies | |
| 10/102 | xfs: fix possible overflow in xfs_ioc_trim()fs/ | +10 | 0 replies | |
| 11/102 | xfs: XFS_TRANS_SWAPEXT is not a valid flag forfs/ | +1 | 0 replies | |
| 12/102 | xfs: Don't allocate new buffers on every call to _xfs_buf_findfs/ | +28 | 0 replies | |
| 13/102 | xfs: reduce the number of log forces from tail pushingfs/ fs/ | +22 | 0 replies | |
| 14/102 | xfs: optimize fsync on directoriesfs/ fs/ | +29 | 0 replies | |
| 15/102 | xfs: clean up buffer allocationfs/ fs/ fs/ | +21 | 0 replies | |
| 16/102 | xfs: clean up xfs_ioerror_alertfs/ fs/ fs/ +6 more | +38 | 0 replies | |
| 17/102 | xfs: use xfs_ioerror_alert in xfs_buf_iodone_callbacksfs/ | +1 | 0 replies | |
| 18/102 | xfs: do not flush data workqueues in xfs_flush_buftargfs/ | +1 | 0 replies | |
| 19/102 | xfs: add AIL pushing tracepointsfs/ fs/ | +45 | 0 replies | |
| 20/102 | xfs: warn if direct reclaim tries to writeback pagesfs/ | +4 | 6 replies | |
| 21/102 | xfs: fix force shutdown handling in xfs_end_iofs/ | +1 | 0 replies | |
| 22/102 | xfs: fix allocation length overflow in xfs_bmapi_write()fs/ | +12 | 0 replies | |
| 23/102 | xfs: fix the logspace waiting algorithmfs/ fs/ | +177 | 0 replies | |
| 24/102 | xfs: untangle SYNC_WAIT and SYNC_TRYLOCK meanings for xfs_qm_dqflushfs/ fs/ fs/ | +4 | 0 replies | |
| 25/102 | xfs: make sure to really flush all dquots in xfs_qm_quotacheckfs/ | +1 | 0 replies | |
| 26/102 | xfs: simplify xfs_qm_detach_gdquotsfs/ | +5 | 0 replies | |
| 27/102 | xfs: mark the xfssyncd workqueue as non-reentrantfs/ | +5 | 0 replies | |
| 28/102 | xfs: make i_flags an unsigned longfs/ | +1 | 0 replies | |
| 29/102 | xfs: remove the i_size field in struct xfs_inodefs/ fs/ fs/ +6 more | +65 | 0 replies | |
| 30/102 | xfs: remove the i_new_size field in struct xfs_inodefs/ fs/ fs/ +2 more | +30 | 0 replies | |
| 31/102 | xfs: always return with the iolock held fromfs/ | +4 | 0 replies | |
| 32/102 | xfs: cleanup xfs_file_aio_writefs/ | +39 | 0 replies | |
| 33/102 | xfs: pass KM_SLEEP flag to kmem_realloc() infs/ | +1 | 0 replies | |
| 34/102 | xfs: show uuid when mount fails due to duplicate uuidfs/ | +1 | 0 replies | |
| 35/102 | xfs: xfs_trans_add_item() - don't assign in ASSERT() when compare is intendedfs/ | +2 | 0 replies | |
| 36/102 | xfs: split tail_lsn assignments from log space wakeupsfs/ fs/ fs/ +1 more | +45 | 0 replies | |
| 37/102 | xfs: do exact log space wakeups in xlog_ungrant_log_spacefs/ | +1 | 0 replies | |
| 38/102 | xfs: remove xfs_trans_unlocked_itemfs/ fs/ fs/ +4 more | +4 | 0 replies | |
| 39/102 | xfs: cleanup xfs_log_space_wakefs/ fs/ fs/ | +8 | 0 replies | |
| 40/102 | xfs: remove log space waitqueuesfs/ fs/ | +16 | 0 replies | |
| 41/102 | xfs: add the xlog_grant_head structurefs/ fs/ fs/ +1 more | +74 | 0 replies | |
| 42/102 | xfs: add xlog_grant_head_initfs/ | +12 | 0 replies | |
| 43/102 | xfs: add xlog_grant_head_wake_allfs/ | +14 | 0 replies | |
| 44/102 | xfs: share code for grant head waitingfs/ fs/ | +18 | 0 replies | |
| 45/102 | xfs: share code for grant head wakeupsfs/ fs/ | +20 | 0 replies | |
| 46/102 | xfs: share code for grant head availability checksfs/ | +60 | 0 replies | |
| 47/102 | xfs: split and cleanup xfs_log_reservefs/ fs/ fs/ +2 more | +151 | 0 replies | |
| 48/102 | xfs: only take the ILOCK in xfs_reclaim_inode()fs/ fs/ | +13 | 0 replies | |
| 49/102 | xfs: use per-filesystem I/O completion workqueuesfs/ fs/ fs/ +2 more | +67 | 0 replies | |
| 50/102 | xfs: do not require an ioend for new EOF calculationfs/ fs/ | +18 | 0 replies | |
| 54/102 | xfs: make xfs_inode_item_size idempotentfs/ | +83 | 0 replies | |
| 55/102 | xfs: split in-core and on-disk inode log item fieldsfs/ fs/ fs/ +2 more | +92 | 0 replies | |
| 56/102 | xfs: reimplement fdatasync supportfs/ fs/ fs/ +1 more | +18 | 0 replies | |
| 57/102 | xfs: fallback to vmalloc for large buffers in xfs_attrmulti_attr_getfs/ | +10 | 0 replies | |
| 58/102 | xfs: fallback to vmalloc for large buffers in xfs_getbmapfs/ | +10 | 0 replies | |
| 59/102 | xfs: fix deadlock in xfs_rtfree_extentfs/ fs/ | +13 | 0 replies | |
| 60/102 | xfs: Fix open flag handling in open_by_handle codefs/ | +5 | 0 replies | |
| 61/102 | xfs: introduce an allocation workqueuefs/ fs/ fs/ | +54 | 0 replies | |
| 62/102 | xfs: trace xfs_name strings correctlyfs/ | +13 | 0 replies | |
| 63/102 | xfs: Account log unmount transaction correctlyfs/ | +2 | 0 replies | |
| 64/102 | xfs: fix fstrim offset calculationsfs/ fs/ fs/ | +46 | 0 replies | |
| 65/102 | xfs: add lots of attribute trace pointsfs/ fs/ fs/ +1 more | +144 | 0 replies | |
| 66/102 | xfs: don't fill statvfs with project quota for a directoryfs/ | +1 | 0 replies | |
| 67/102 | xfs: Ensure inode reclaim can run during quotacheckfs/ fs/ | +18 | 0 replies | |
| 68/102 | xfs: avoid taking the ilock unnessecarily in xfs_qm_dqattachfs/ | +21 | 0 replies | |
| 69/102 | xfs: reduce ilock hold times in xfs_file_aio_write_checksfs/ | +9 | 0 replies | |
| 70/102 | xfs: reduce ilock hold times in xfs_setattr_sizefs/ | +6 | 0 replies | |
| 71/102 | xfs: push the ilock into xfs_zero_eoffs/ fs/ | +64 | 0 replies | |
| 72/102 | xfs: use shared ilock mode for direct IO writes by defaultfs/ fs/ | +45 | 0 replies | |
| 73/102 | xfs: punch all delalloc blocks beyond EOF on write failure.fs/ | +1 | 0 replies | |
| 74/102 | xfs: using GFP_NOFS for blkdev_issue_flushfs/ | +1 | 0 replies | |
| 75/102 | xfs: page type check in writeback only checks last bufferfs/ | +6 | 0 replies | |
| 76/102 | xfs: punch new delalloc blocks out of failed writes insidefs/ | +127 | 0 replies | |
| 77/102 | xfs: prevent needless mount warning causing test failuresfs/ | +4 | 0 replies | |
| 78/102 | xfs: don't assert on delalloc regions beyond EOFfs/ | +14 | 0 replies | |
| 79/102 | xfs: limit specualtive delalloc to maxioffsetfs/ | +9 | 0 replies | |
| 80/102 | xfs: Use preallocation for inodes with extsz hintsfs/ | +1 | 0 replies | |
| 81/102 | xfs: fix buffer lookup race on allocation failurefs/ | +9 | 0 replies | |
| 82/102 | xfs: check for buffer errors before waitingfs/ fs/ fs/ | +14 | 0 replies | |
| 83/102 | xfs: fix incorrect b_offset initialisationfs/ | +0 | 0 replies | |
| 84/102 | xfs: use kmem_zone_zalloc for buffersfs/ | +1 | 0 replies | |
| 85/102 | xfs: use iolock on XFS_IOC_ALLOCSP callsfs/ | +18 | 0 replies | |
| 86/102 | xfs: Properly exclude IO type flags from buffer flagsfs/ | +4 | 0 replies | |
| 87/102 | xfs: flush outstanding buffers on log mount failurefs/ | +6 | 0 replies | |
| 88/102 | xfs: protect xfs_sync_worker with s_umount semaphorefs/ | +17 | 0 replies | |
| 89/102 | xfs: fix memory reclaim deadlock on agi bufferfs/ | +3 | 0 replies | |
| 90/102 | xfs: add trace points for log forcesfs/ fs/ | +18 | 0 replies | |
| 91/102 | xfs: switch to proper __bitwise type for KM_... flagsfs/ fs/ fs/ +3 more | +20 | 0 replies | |
| 92/102 | xfs: xfs_vm_writepage clear iomap_valid whenfs/ | +8 | 0 replies | |
| 93/102 | xfs: fix debug_object WARN at xfs_alloc_vextent()fs/ | +1 | 0 replies | |
| 94/102 | xfs: m_maxioffset is redundantfs/ fs/ fs/ +1 more | +9 | 0 replies | |
| 95/102 | xfs: make largest supported offset less shoutyfs/ fs/ fs/ +4 more | +13 | 0 replies | |
| 96/102 | xfs: kill copy and paste segment checks in xfs_file_aio_readfs/ | +3 | 0 replies | |
| 97/102 | xfs: fix allocbt cursor leak in xfs_alloc_ag_vextent_nearfs/ | +1 | 0 replies | |
| 98/102 | xfs: shutdown xfs_sync_worker before the logfs/ fs/ | +17 | 0 replies | |
| 99/102 | xfs: really fix the cursor leak in xfs_alloc_ag_vextent_nearfs/ | +2 | 0 replies | |
| 100/102 | xfs: don't defer metadata allocation to the workqueuefs/ | +12 | 0 replies | |
| 101/102 | xfs: prevent recursion in xfs_buf_iorequestfs/ | +1 | 0 replies | |
| 102/102 | xfs: handle EOF correctly in xfs_vm_writepagefs/ | +17 | 0 replies |
Reviews trailers per patch
79 of 99 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.
Cover letter [RFC, PATCH 0/102]: xfs: 3.0.x stable kernel update
This series is a backport of all the major bug fixes in the current TOT kernel to the current 3.0.x stable tree.
I won't make any secret of this - the fixes and supporting patches have been selected as a result of the issues reported in the current RHEL XFS codebase which currently is 2 commits short of the 3.0 code base. With that said, it doesn't take a brain surgeon to work out the motivations behind this work and eventual destination of the patch set. ;)
There's no guarantee I have caught every single bug fix that has been made since 3.0, but I've tried to grab all the bug fix commits as indicated by the commit headers (hence the importance of good one line bug summaries).
Over the past couple of weeks of testing and refining, I've had only three significant problems arise from QA and load testing:
1) An unreproducable log space hang
2) An unmount panic due to buffers not being cleaned up before tearing down the perag tree
3) A forced shutdown panic in block_invalidatepage() via xfs_aops_discard_page()
It's entirely possible that #1 was due to the CIL space hang we still haven't got to the bottom of, so i'm not not greatly concerned by that. #2 implies I haven't quite backported the shutdown ordering fixes correctly (or I missed one), so I have a bit more work to do there. And for #3 - I've never seen that before and I haven't been able to reproduce it, so I really don't know what potential cause or impact it has.
I've been beating on the series with xfstests, dbench, fsmark, postmark, compilebench and a few other load scripts that I've got, and it seems fairly resilient. Hence, it's time to give the series wider testing and review to flush out any remaining issues.
For all the folks that run 3.0.x stable kernels, I'd appreciate it if you could give this a whirl on your test systems to see if there are any obvious, glaring problems that show up under your particular workloads. This woul dbe of great benefit to me before I submit the series to the stable kernel gurus - I'd prefer it there's more substantial testing than "i've done what I can" when sending them the series.
For all the XFS developers that have copious amounts of free time available, I'd appreciate an eye run over the patch list to see if there's any potential bug fixes that I missed or have made glaring errors in backporting. Some of the fixes are dependent on cleanups I haven't included, so some of the patches are a bit different to what is in mainline (e.g. anything that touches setattr). Most important to look at is probably the inode i_size changes and the logging of all metadata changes.
Enjoy!
Cheers,
Dave.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs