[Cluster-devel] [PATCH AUTOSEL 4.4 01/19] fs: dlm: fix debugfs dump

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 92c48950b43f4a767388cf87709d8687151a641f ] This patch fixes the following message which randomly pops up during glocktop call: seq_file: buggy .next function table_seq_next did not update position index The issue is that seq_read_iter() in fs/seq_file.c

[Cluster-devel] [PATCH AUTOSEL 4.9 01/22] fs: dlm: fix debugfs dump

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 92c48950b43f4a767388cf87709d8687151a641f ] This patch fixes the following message which randomly pops up during glocktop call: seq_file: buggy .next function table_seq_next did not update position index The issue is that seq_read_iter() in fs/seq_file.c

[Cluster-devel] [PATCH AUTOSEL 4.14 01/25] fs: dlm: fix debugfs dump

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 92c48950b43f4a767388cf87709d8687151a641f ] This patch fixes the following message which randomly pops up during glocktop call: seq_file: buggy .next function table_seq_next did not update position index The issue is that seq_read_iter() in fs/seq_file.c

[Cluster-devel] [PATCH AUTOSEL 4.19 01/32] fs: dlm: fix debugfs dump

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 92c48950b43f4a767388cf87709d8687151a641f ] This patch fixes the following message which randomly pops up during glocktop call: seq_file: buggy .next function table_seq_next did not update position index The issue is that seq_read_iter() in fs/seq_file.c

[Cluster-devel] [PATCH AUTOSEL 5.4 01/46] fs: dlm: fix debugfs dump

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 92c48950b43f4a767388cf87709d8687151a641f ] This patch fixes the following message which randomly pops up during glocktop call: seq_file: buggy .next function table_seq_next did not update position index The issue is that seq_read_iter() in fs/seq_file.c

[Cluster-devel] [PATCH AUTOSEL 5.10 05/85] fs: dlm: flush swork on shutdown

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit eec054b5a7cfe6d1f1598a323b05771ee99857b5 ] This patch fixes the flushing of send work before shutdown. The function cancel_work_sync() is not the right workqueue functionality to use here as it would cancel the work if the work queues itself. In cases of E

[Cluster-devel] [PATCH AUTOSEL 5.10 02/85] fs: dlm: fix debugfs dump

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 92c48950b43f4a767388cf87709d8687151a641f ] This patch fixes the following message which randomly pops up during glocktop call: seq_file: buggy .next function table_seq_next did not update position index The issue is that seq_read_iter() in fs/seq_file.c

[Cluster-devel] [PATCH AUTOSEL 5.10 03/85] fs: dlm: add errno handling to check callback

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 8aa9540b49e0833feba75dbf4f45babadd0ed215 ] This allows to return individual errno values for the config attribute check callback instead of returning invalid argument only. Signed-off-by: Alexander Aring Signed-off-by: David Teigland Signed-off-by: Sash

[Cluster-devel] [PATCH AUTOSEL 5.10 04/85] fs: dlm: check on minimum msglen size

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 710176e8363f269c6ecd73d203973b31ace119d3 ] This patch adds an additional check for minimum dlm header size which is an invalid dlm message and signals a broken stream. A msglen field cannot be less than the dlm header size because the field is inclusive he

[Cluster-devel] [PATCH AUTOSEL 5.11 010/104] fs: dlm: add shutdown hook

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 9d232469bcd772dbedb9e75a165c681b920524ee ] This patch fixes issues which occurs when dlm lowcomms synchronize their workqueues but dlm application layer already released the lockspace. In such cases messages like: dlm: gfs2: release_lockspace final free d

[Cluster-devel] [PATCH AUTOSEL 5.11 005/104] fs: dlm: add errno handling to check callback

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 8aa9540b49e0833feba75dbf4f45babadd0ed215 ] This allows to return individual errno values for the config attribute check callback instead of returning invalid argument only. Signed-off-by: Alexander Aring Signed-off-by: David Teigland Signed-off-by: Sash

[Cluster-devel] [PATCH AUTOSEL 5.11 009/104] fs: dlm: flush swork on shutdown

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit eec054b5a7cfe6d1f1598a323b05771ee99857b5 ] This patch fixes the flushing of send work before shutdown. The function cancel_work_sync() is not the right workqueue functionality to use here as it would cancel the work if the work queues itself. In cases of E

[Cluster-devel] [PATCH AUTOSEL 5.11 006/104] fs: dlm: add check if dlm is currently running

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 517461630d1c25ee4dfc1dee80973a64189d6ccf ] This patch adds checks for dlm config attributes regarding to protocol parameters as it makes only sense to change them when dlm is not running. It also adds a check for valid protocol specifiers and return invali

[Cluster-devel] [PATCH AUTOSEL 5.11 008/104] fs: dlm: check on minimum msglen size

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 710176e8363f269c6ecd73d203973b31ace119d3 ] This patch adds an additional check for minimum dlm header size which is an invalid dlm message and signals a broken stream. A msglen field cannot be less than the dlm header size because the field is inclusive he

[Cluster-devel] [PATCH AUTOSEL 5.11 007/104] fs: dlm: change allocation limits

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit c45674fbdda138814ca21138475219c96fa5aa1f ] While running tcpkill I experienced invalid header length values while receiving to check that a node doesn't try to send a invalid dlm message we also check on applications minimum allocation limit. Also use DEFA

[Cluster-devel] [PATCH AUTOSEL 5.11 003/104] fs: dlm: fix debugfs dump

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 92c48950b43f4a767388cf87709d8687151a641f ] This patch fixes the following message which randomly pops up during glocktop call: seq_file: buggy .next function table_seq_next did not update position index The issue is that seq_read_iter() in fs/seq_file.c

[Cluster-devel] [PATCH AUTOSEL 5.11 004/104] fs: dlm: fix mark setting deadlock

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit e125fbeb538e5e35a00c6c8150a5361bef34814c ] This patch fixes an deadlock issue when dlm_lowcomms_close() is called. When dlm_lowcomms_close() is called the clusters_root.subsys.su_mutex is held to remove configfs items. At this time we flushing (e.g. cancel

[Cluster-devel] [PATCH AUTOSEL 5.12 003/116] fs: dlm: fix debugfs dump

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 92c48950b43f4a767388cf87709d8687151a641f ] This patch fixes the following message which randomly pops up during glocktop call: seq_file: buggy .next function table_seq_next did not update position index The issue is that seq_read_iter() in fs/seq_file.c

[Cluster-devel] [PATCH AUTOSEL 5.12 010/116] fs: dlm: add shutdown hook

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 9d232469bcd772dbedb9e75a165c681b920524ee ] This patch fixes issues which occurs when dlm lowcomms synchronize their workqueues but dlm application layer already released the lockspace. In such cases messages like: dlm: gfs2: release_lockspace final free d

[Cluster-devel] [PATCH AUTOSEL 5.12 006/116] fs: dlm: add check if dlm is currently running

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 517461630d1c25ee4dfc1dee80973a64189d6ccf ] This patch adds checks for dlm config attributes regarding to protocol parameters as it makes only sense to change them when dlm is not running. It also adds a check for valid protocol specifiers and return invali

[Cluster-devel] [PATCH AUTOSEL 5.12 005/116] fs: dlm: add errno handling to check callback

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 8aa9540b49e0833feba75dbf4f45babadd0ed215 ] This allows to return individual errno values for the config attribute check callback instead of returning invalid argument only. Signed-off-by: Alexander Aring Signed-off-by: David Teigland Signed-off-by: Sash

[Cluster-devel] [PATCH AUTOSEL 5.12 007/116] fs: dlm: change allocation limits

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit c45674fbdda138814ca21138475219c96fa5aa1f ] While running tcpkill I experienced invalid header length values while receiving to check that a node doesn't try to send a invalid dlm message we also check on applications minimum allocation limit. Also use DEFA

[Cluster-devel] [PATCH AUTOSEL 5.12 009/116] fs: dlm: flush swork on shutdown

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit eec054b5a7cfe6d1f1598a323b05771ee99857b5 ] This patch fixes the flushing of send work before shutdown. The function cancel_work_sync() is not the right workqueue functionality to use here as it would cancel the work if the work queues itself. In cases of E

[Cluster-devel] [PATCH AUTOSEL 5.12 008/116] fs: dlm: check on minimum msglen size

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit 710176e8363f269c6ecd73d203973b31ace119d3 ] This patch adds an additional check for minimum dlm header size which is an invalid dlm message and signals a broken stream. A msglen field cannot be less than the dlm header size because the field is inclusive he

[Cluster-devel] [PATCH AUTOSEL 5.12 004/116] fs: dlm: fix mark setting deadlock

2021-05-05 Thread Sasha Levin
From: Alexander Aring [ Upstream commit e125fbeb538e5e35a00c6c8150a5361bef34814c ] This patch fixes an deadlock issue when dlm_lowcomms_close() is called. When dlm_lowcomms_close() is called the clusters_root.subsys.su_mutex is held to remove configfs items. At this time we flushing (e.g. cancel

Re: [Cluster-devel] [PATCH 1/3] fs/buffer.c: add new api to allow eof writeback

2021-05-05 Thread Junxiao Bi
On 5/5/21 4:43 AM, Jan Kara wrote: On Tue 04-05-21 16:35:53, Junxiao Bi wrote: On 5/4/21 2:02 AM, Jan Kara wrote: On Mon 03-05-21 10:25:31, Junxiao Bi wrote: On 5/3/21 3:29 AM, Jan Kara wrote: On Fri 30-04-21 14:18:15, Junxiao Bi wrote: On 4/30/21 5:47 AM, Jan Kara wrote: On Thu 29-04-21

Re: [Cluster-devel] [PATCH 1/3] fs/buffer.c: add new api to allow eof writeback

2021-05-05 Thread Jan Kara
On Tue 04-05-21 16:35:53, Junxiao Bi wrote: > On 5/4/21 2:02 AM, Jan Kara wrote: > > On Mon 03-05-21 10:25:31, Junxiao Bi wrote: > > > On 5/3/21 3:29 AM, Jan Kara wrote: > > > > On Fri 30-04-21 14:18:15, Junxiao Bi wrote: > > > > > On 4/30/21 5:47 AM, Jan Kara wrote: > > > > > > > > > > > On Thu 2