[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 09/14] sd: factor out a sd_discard_mode helper


  • To: Christoph Hellwig <hch@xxxxxx>
  • From: "Martin K. Petersen" <martin.petersen@xxxxxxxxxx>
  • Date: Thu, 13 Jun 2024 21:43:58 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+K/bRxHsws1KRzeBoVci8ut7cr6RRzSa4Eor49bSvHA=; b=dMgb8KeX8P3fUUtoXVqaEKJy/dtCnetXlF+Ft+iarB0eytBt1ENkzqGNryN+xe54FRzx6Y9IiSiX/x3Xi5Q640P7jb3FskW5G68HhuWyAwLuhZfdPRwozFLj/BwP6JBXxghhnRc9TjUju9/qc1fNnPIEqKak0qnBa2YBAcx2fdua2nFZ/3QhTTqTVu2r/nLBZZAgg2KAogV0nskpnbX8RucLQa3d43oOlwm9YZ0mmhcUJV5TzCQxp7489zArl2dtTHG8g2IDYZ4xJyyE1h+duFZGCjKoKS1jTcK2EJQhMdcaUbbmq+3q5yq9AtJbXQlSfnZXEjqgmc4zVIp7OTkkbg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QIeFpvqgbAHe0A6cQldeNgm+RfJHt4qhC0Bfc2zzh5nHZg5p9s1HxjxmtQ/ct2hi+bE6VapQ7i6kHWKAV2jnubswiX4n5LYnoTKsMdkHshSHkDvjQiTXL6y4+D8keU0HlC2o51uJ4YlzXW5vyvYo/XAFLgaUfSTTqOB8lgnSpMFkBQ6v7GIhlVpahnV3EqemALGwTB/1rWPPA+14BIu1FtMtd/OR9+RxoWz7/9iQKGN+fYgT7/EB8Xp2e5Bld2Ow0NTQg830+KnBIhLzngt74A8eLdM90B9ShrV0HqI4kJk2DeT9UzhPldv2TGKrkhWIbbneuz+vNhjN7g94CysvKw==
  • Cc: Jens Axboe <axboe@xxxxxxxxx>, "Martin K. Petersen" <martin.petersen@xxxxxxxxxx>, Richard Weinberger <richard@xxxxxx>, Anton Ivanov <anton.ivanov@xxxxxxxxxxxxxxxxxx>, Johannes Berg <johannes@xxxxxxxxxxxxxxxx>, Josef Bacik <josef@xxxxxxxxxxxxxx>, Ilya Dryomov <idryomov@xxxxxxxxx>, Dongsheng Yang <dongsheng.yang@xxxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, linux-um@xxxxxxxxxxxxxxxxxxx, linux-block@xxxxxxxxxxxxxxx, nbd@xxxxxxxxxxxxxxxx, ceph-devel@xxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-scsi@xxxxxxxxxxxxxxx, Bart Van Assche <bvanassche@xxxxxxx>, Damien Le Moal <dlemoal@xxxxxxxxxx>
  • Delivery-date: Fri, 14 Jun 2024 01:44:27 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Christoph,

> Split the logic to pick the right discard mode into a little helper
> to prepare for further changes.

Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

-- 
Martin K. Petersen      Oracle Linux Engineering



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.