Whamcloud - gitweb
LU-17272 osc: check cl_dirty_max_pages 37/53037/4
authorHongchao Zhang <hongchao@whamcloud.com>
Wed, 26 Jun 2024 06:56:26 +0000 (14:56 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 21:56:48 +0000 (21:56 +0000)
commit94d1241342749c1d2f411f1c4f8d8ef4259efb5f
tree46161f422babfaa6c3d072e1b3567d94f8abb71e
parentf7a32252b6bc1fc52a645f5c622027d09acb3b75
LU-17272 osc: check cl_dirty_max_pages

In osc_queue_sync_pages, the client_obd->cl_dirty_max_pages
should also be checked along with the grant check.

Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: I3d22fdcf6d8ea99b48bc1f42e7b686ab4ba0e1f0
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53037
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <patrick.farrell@oracle.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osc/osc_cache.c