> On Fri, Dec 20, 2024 at 05:18:06PM +0800, Wei Fang wrote:
> > The Tx metadata test has been broken since the commit d5e726d9143c
> ("xsk:
> > Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len").
>
> Nit:
>
> Fixes tag already include this in
> On 12/20, Wei Fang wrote:
> > The Tx metadata test has been broken since the commit d5e726d9143c
> ("xsk:
> > Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len").
> Because
> > this change requires XDP_UMEM_TX_METADATA_LEN flag to be set,
> &g
s that
the driver cannot get Tx metadata and cannot execute AF_XDP Tx metadata
hooks.
Fixes: d5e726d9143c ("xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate
tx_metadata_len")
Signed-off-by: Wei Fang
---
tools/testing/selftests/bpf/xdp_hw_metadata.c | 2 +-
1 file changed, 1 insertion(+),
has any objections, please let me know.
>
> ------
>
> From: Wei Fang
>
> commit c2a9737f45e27d8263ff9643f994bda9bac0b944 upstream.
>
> We triggered a deadloop in truncate_inode_pages_range() on 32 bits
> architecture with the test case bellow:
>
>
ble again
should be safe.
Cc:
Signed-off-by: Wei Fang
---
Changes v1->v2:
- add might_sleep() to annotate that dput() can sleep
Changes v2->v3:
- put cond_resched() in dput()
fs/dcache.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/fs/dcache.c b/fs/dcach
Hi, Boqun,
>> diff --git a/fs/dcache.c b/fs/dcache.c
>> index d5ecc6e..074fc1c 100644
>> --- a/fs/dcache.c
>> +++ b/fs/dcache.c
>> @@ -578,7 +578,7 @@ static struct dentry *dentry_kill(struct dentry *dentry)
>>
>> failed:
>> spin_unlock(&dentry->d_lock);
>> -cpu_relax();
>> +cond_r
ble again
should be safe.
Cc:
Signed-off-by: Wei Fang
---
Changes v1->v2:
- add might_sleep() to annotate that dput() can sleep
fs/dcache.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/fs/dcache.c b/fs/dcache.c
index d5ecc6e..074fc1c 100644
--- a/fs/dcache.c
++
Update inode->i_blocks if succeed to get block, otherwise we'll
get wrong number of blocks.
Signed-off-by: Wei Fang
---
fs/bfs/file.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index 97f1b51..f89abdb 100644
--- a/fs/bfs/file
Hi John,
On 2015/11/10 0:32, John Garry wrote:
> This patch also includes relevant memory/pool
> free'ing and sas/scsi host removal
>
> Signed-off-by: John Garry
> ---
> drivers/scsi/hisi_sas/hisi_sas_main.c | 71
> ++-
> 1 file changed, 70 insertions(+), 1 dele
Update inode->i_blocks if succeed to get block, otherwise we'll
get wrong number of blocks.
Signed-off-by: Wei Fang
---
fs/bfs/file.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index 97f1b51..f89abdb 100644
--- a/fs/bfs/file
10 matches
Mail list logo