aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-08-07f2fs: Convert f2fs_write_begin() to use a folioMatthew Wilcox (Oracle)1-31/+35
Fetch a folio from the page cache instead of a page and use it throughout. We still have to convert back to a page for calling internal f2fs functions, but hopefully they will be converted soon. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07f2fs: Convert f2fs_write_end() to use a folioMatthew Wilcox (Oracle)1-6/+8
Convert the passed page to a folio and operate on that. Replaces five calls to compound_head() with one. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ecryptfs: Use a folio in ecryptfs_write_begin()Matthew Wilcox (Oracle)1-26/+27
Use __filemap_get_folio() instead of grab_cache_page_write_begin() and use the folio throughout. No attempt is made here to support large folios, simply converting this function to use folio APIs is the goal. Saves many hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ecryptfs: Convert ecryptfs_write_end() to use a folioMatthew Wilcox (Oracle)1-12/+13
Convert the passed page to a folio and operate on that. Replaces four calls to compound_head() with one. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07buffer: Convert block_write_end() to take a folioMatthew Wilcox (Oracle)11-15/+14
All callers now have a folio, so pass it in instead of converting from a folio to a page and back to a folio again. Saves a call to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ntfs3: Remove reset_log_file()Matthew Wilcox (Oracle)2-40/+0
This function has no callers (which will be why nobody noticed that the page wasn't being unlocked). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07nilfs2: Use a folio in nilfs_recover_dsync_blocks()Matthew Wilcox (Oracle)1-4/+6
Replaces four hidden calls to compound_head() with one. Reviewed-by: Josef Bacik <[email protected]> Acked-by: Ryusuke Konishi <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07buffer: Use a folio in generic_write_end()Matthew Wilcox (Oracle)1-3/+4
Replaces two implicit calls to compound_head() with one. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07block: Use a folio in blkdev_write_end()Matthew Wilcox (Oracle)1-2/+3
Replaces two hidden calls to compound_head() with one explicit one. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07reiserfs: Convert reiserfs_write_begin() to use a folioMatthew Wilcox (Oracle)1-9/+10
Remove a few calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07reiserfs: Convert grab_tail_page() to use a folioMatthew Wilcox (Oracle)1-12/+11
Removes a call to grab_cache_page() and a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07fs: Convert block_write_begin() to use a folioMatthew Wilcox (Oracle)1-9/+10
Use the folio APIs to retrieve the folio from the page cache and manipulate it. Saves a few conversions between pages & folios. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07minixfs: Convert dir_commit_chunk() to take a folioMatthew Wilcox (Oracle)1-8/+8
All callers now have a folio, so pass it in. Saves a call to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07minixfs: Convert minix_prepare_chunk() to take a folioMatthew Wilcox (Oracle)3-18/+18
All callers now have a folio, so convert minix_prepare_chunk() to take one. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07minixfs: Convert minix_make_empty() to use a folioMatthew Wilcox (Oracle)1-9/+9
Removes a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07minixfs: Convert minix_delete_entry() to work on a folioMatthew Wilcox (Oracle)3-10/+10
Match ext2 and remove a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07minixfs: Convert minix_set_link() and minix_dotdot() to take a folioMatthew Wilcox (Oracle)3-20/+17
This matches ext2 and removes a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07minixfs: Convert minix_find_entry() to take a folioMatthew Wilcox (Oracle)3-33/+30
Remove a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07minixfs: Convert dir_get_page() to dir_get_folio()Matthew Wilcox (Oracle)1-31/+35
Remove a few conversions between page and folio. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07qnx6: Convert directory handling to use kmap_localMatthew Wilcox (Oracle)2-17/+11
Eliminates qnx6_put_page() and a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07qnx6: Convert qnx6_iget() to use a folioMatthew Wilcox (Oracle)1-8/+7
Removes a use of kmap() and a couple of conversions between folios and pages. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07qnx6: Convert qnx6_checkroot() to use a folioMatthew Wilcox (Oracle)1-5/+5
Removes a use of kmap and removes a conversion from folio to page. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07qnx6: Convert qnx6_longname() to take a folioMatthew Wilcox (Oracle)1-18/+19
Removes a conversion from folio to page. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07qnx6: Convert qnx6_find_entry() to qnx6_find_ino()Matthew Wilcox (Oracle)3-10/+4
It's hard to return a directory entry from qnx6_find_entry() because it might be a long dir_entry with a different format. So stick with the convention of returning an inode number, but rename it to qnx6_find_ino() to reflect what it actually does, and move the call to qnx6_put_page() inside the function which lets us get rid of the res_page parameter. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07qnx6: Convert qnx6_get_page() to qnx6_get_folio()Matthew Wilcox (Oracle)1-22/+24
Match the ext2 calling convention by returning the address and setting the folio return pointer. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07sysv: Convert dir_commit_chunk() to take a folioMatthew Wilcox (Oracle)1-8/+8
All callers now have a folio, so pass it in. Saves a call to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07sysv: Convert sysv_prepare_chunk() to take a folioMatthew Wilcox (Oracle)3-8/+8
All callers now have a folio, so convert sysv_prepare_chunk() to take one. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07sysv: Convert sysv_make_empty() to use a folioMatthew Wilcox (Oracle)1-12/+12
Removes a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07sysv: Convert sysv_delete_entry() to work on a folioMatthew Wilcox (Oracle)3-10/+10
Match ext2 and remove a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07sysv: Convert sysv_set_link() and sysv_dotdot() to take a folioMatthew Wilcox (Oracle)3-20/+17
This matches ext2 and removes a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07sysv: Convert sysv_find_entry() to take a folioMatthew Wilcox (Oracle)3-35/+30
Remove a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07sysv: Convert dir_get_page() to dir_get_folio()Matthew Wilcox (Oracle)1-38/+42
Remove a few conversions between page and folio. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ufs: Convert directory handling to kmap_localMatthew Wilcox (Oracle)2-28/+17
Remove kmap use and use folio_release_kmap() instead of ufs_put_page(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ufs; Convert ufs_commit_chunk() to take a folioMatthew Wilcox (Oracle)1-8/+8
All callers now have a folio, so pass it in. Saves a call to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ufs: Convert ufs_prepare_chunk() to take a folioMatthew Wilcox (Oracle)3-9/+9
All callers now have a folio, so convert ufs_prepare_chunk() to take one. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ufs: Convert ufs_make_empty() to use a folioMatthew Wilcox (Oracle)1-13/+12
Removes a few hidden calls to compound_head() and uses kmap_local instead of kmap. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ufs: Convert ufs_delete_entry() to work on a folioMatthew Wilcox (Oracle)3-16/+19
Match ext2 and remove a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ufs: Convert ufs_set_link() and ufss_dotdot() to take a folioMatthew Wilcox (Oracle)3-25/+21
This matches ext2 and removes a few hidden calls to compound_head(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ufs: Convert ufs_find_entry() to take a folioMatthew Wilcox (Oracle)3-31/+28
This matches ext2 and pushes the use of folios out by one layer. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ufs: Convert ufs_check_page() to ufs_check_folio()Matthew Wilcox (Oracle)1-15/+13
Includes large folio support in case we decide to support block size > PAGE_SIZE (as with ext2, this support will be limited to machines without HIGHMEM). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ufs: Convert ufs_get_page() to ufs_get_folio()Matthew Wilcox (Oracle)1-53/+48
Use the same calling convention as ext2 (see commit 46022375abe8) so that we can transition to kmap_local in a future patch. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ufs: Convert ufs_get_page() to use a folioMatthew Wilcox (Oracle)1-9/+10
Remove a call to read_mapping_page(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
2024-08-07ALSA: seq: Fix missing seq port info bit return for MIDI 1.0 blockTakashi Iwai1-0/+3
The recent extension added a new ALSA sequencer port info flag bit SNDRV_SEQ_PORT_FLG_IS_MIDI1, but it's not reported back when inquired. Fix it to report properly. Fixes: 0079c9d1e58a ("ALSA: ump: Handle MIDI 1.0 Function Block in MIDI 2.0 protocol") Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]
2024-08-07ALSA: seq: Print MIDI 1.0 specific port in proc outputTakashi Iwai1-1/+6
When a sequencer port assigned to a UMP Group that is specific to MIDI 1.0 among MIDI 2.0 client, mark it explicitly in the proc output, so that user can see it easily. This is an exceptional case where the message isn't converted to MIDI 1.0 even if the client is running in MIDI 2.0 mode. Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]
2024-08-07ALSA: usb-audio: Update UMP group attributes for GTB blocks, tooTakashi Iwai3-4/+8
When a FB is created from a GTB instead of UMP FB Info inquiry, we missed the update of the corresponding UMP Group attributes. Export the call of updater and let it be called from the USB driver. Fixes: 0642a3c5cacc ("ALSA: ump: Update substream name from assigned FB names") Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]
2024-08-07ALSA: usb-audio: Set MIDI1 flag appropriately for GTB MIDI 1.0 entryTakashi Iwai1-2/+16
When a MIDI 1.0 protocol is specified in a GTB entry while others are set in MIDI 2.0, it should be seen as a legacy MIDI 1.0 port. Since recently we allow drivers to set a flag SNDRV_UMP_BLOCK_IS_MIDI1 to a FB for that purpose. This patch tries to set that flag when the device shows such a configuration. Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]
2024-08-07ALSA: usb-audio: Accept multiple protocols in GTBsTakashi Iwai1-13/+3
It's valid to give different protocols via multiple GTBs; e.g. a MIDI 1.0 port is embedded in a MIDI 2.0 device that talks with MIDI 2.0 protocol. However, the current driver implementation assumes only a single protocol over the whole Endpoint, and it can't handle such a scenario. This patch changes the driver's behavior to parse GTBs to accept multiple protocols. Instead of switching to the last given protocol, it adds the protocol capability bits now. Meanwhile, the default protocol is chosen by the first given protocol in GTBs. Practically seen, this should be a minor issue, as new devices should specify the protocols properly via UMP Endpoint Info messages, so this is rather just covering a corner case. Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]
2024-08-07ALSA: ump: Choose the protocol when protocol caps are changedTakashi Iwai1-6/+16
When the protocol capability bits are changed via Endpoint Info update notification, we should check the validity of the current protocol and reset it if needed, too. Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]
2024-08-07Merge branch 'tcp-active-reset'David S. Miller4-12/+54
Jason Xing says: =================== tcp: completely support active reset This time the patch series finally covers all the cases in the active reset logic. After this, we can know the related exact reason(s). v4 Link: 1. revise the changelog to avoid future confusion in patch [5/7] (Eric) 2. revise the changelog of patch [6/7] like above. 3. add reviewed-by tags (Eric) v3 Link: https://lore.kernel.org/all/[email protected]/ 1. introduce TCP_DISCONNECT_WITH_DATA reason (Eric) 2. use a better name 'TCP_KEEPALIVE_TIMEOUT' (Eric) 3. add three reviewed-by tags (Eric) v2 Link: https://lore.kernel.org/all/[email protected]/ 1. use RFC 9293 in the comment and changelog instead of old RFC 793 2. correct the comment and changelog in patch 5 ==================== Signed-off-by: David S. Miller <[email protected]>
2024-08-07tcp: rstreason: let it work finally in tcp_send_active_reset()Jason Xing1-1/+1
Now it's time to let it work by using the 'reason' parameter in the trace world :) Signed-off-by: Jason Xing <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>